diff --git a/eclipse-workspace/.metadata/.log b/eclipse-workspace/.metadata/.log index 031ef51..83dbc60 100644 --- a/eclipse-workspace/.metadata/.log +++ b/eclipse-workspace/.metadata/.log @@ -1,409 +1,22 @@ -!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-09 18:08:30.240 -!MESSAGE InterruptedException +!ENTRY fr.n7.simplepdl.toHTML.ui 4 0 2021-10-09 21:26:13.352 +!MESSAGE '/fr/n7/simplepdl/toHTML/main/toHTML.emtl' not found !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-09 18:08:31.914 ----------------------------------------------- -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: -data file:/home/lfainsin/miniproj_idm/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product -clean +java.io.IOException: '/fr/n7/simplepdl/toHTML/main/toHTML.emtl' not found + at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.initialize(AbstractAcceleoGenerator.java:481) + at fr.n7.simplepdl.toHTML.main.ToHTML.(ToHTML.java:91) + at fr.n7.simplepdl.toHTML.ui.common.GenerateAll.doGenerate(GenerateAll.java:77) + at fr.n7.simplepdl.toHTML.ui.popupMenus.AcceleoGenerateToHTMLAction$1.run(AcceleoGenerateToHTMLAction.java:78) + at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) -!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-09 18:13:58.005 -!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-09 18:13:59.690 ----------------------------------------------- -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: -data file:/home/lfainsin/miniproj_idm/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product -clean +!ENTRY org.eclipse.jdt.core 4 969 2021-10-09 22:03:20.149 +!MESSAGE fr.n7.petrinet.toTINA.ui does not exist -!ENTRY org.eclipse.jface 4 2 2021-10-09 18:15:16.991 -!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". -!STACK 0 -java.lang.NullPointerException - at petrinet.provider.ArcItemProvider.getText(ArcItemProvider.java:157) - at org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.getText(AdapterFactoryLabelProvider.java:424) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText(WrappedViewerLabelProvider.java:99) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:148) - at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:144) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:959) - at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:126) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1037) - at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:427) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2111) - at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:853) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:831) - at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:779) - at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1690) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2557) - at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1704) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:3029) - at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1660) - at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084) - at petrinet.presentation.PetrinetEditor$5.run(PetrinetEditor.java:773) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4988) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4510) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) - at org.eclipse.equinox.launcher.Main.run(Main.java:1465) - at org.eclipse.equinox.launcher.Main.main(Main.java:1438) +!ENTRY org.eclipse.jdt.core 4 969 2021-10-09 22:03:20.151 +!MESSAGE fr.n7.petrinet.toTINA.ui does not exist -!ENTRY org.eclipse.jface 4 2 2021-10-09 18:15:17.057 -!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". -!STACK 0 -java.lang.NullPointerException - at petrinet.provider.ArcItemProvider.getText(ArcItemProvider.java:157) - at org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator.getText(AdapterFactoryItemDelegator.java:84) - at petrinet.presentation.PetrinetEditor.setStatusLineManager(PetrinetEditor.java:1711) - at petrinet.presentation.PetrinetEditor.setSelection(PetrinetEditor.java:1690) - at petrinet.presentation.PetrinetEditor$6.selectionChanged(PetrinetEditor.java:886) - at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:151) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:148) - at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2132) - at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1662) - at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084) - at petrinet.presentation.PetrinetEditor$5.run(PetrinetEditor.java:773) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4988) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4510) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) - at org.eclipse.equinox.launcher.Main.run(Main.java:1465) - at org.eclipse.equinox.launcher.Main.main(Main.java:1438) +!ENTRY org.eclipse.jdt.core 4 969 2021-10-09 22:03:20.154 +!MESSAGE fr.n7.petrinet.toTINA.ui does not exist -!ENTRY org.eclipse.jface 4 2 2021-10-09 18:15:36.831 -!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". -!STACK 0 -java.lang.NullPointerException - at petrinet.provider.ArcItemProvider.getText(ArcItemProvider.java:157) - at org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.getText(AdapterFactoryLabelProvider.java:424) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText(WrappedViewerLabelProvider.java:99) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:148) - at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:144) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:959) - at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:126) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1037) - at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:427) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2111) - at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:853) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:831) - at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:779) - at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1690) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2557) - at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1704) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:3029) - at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1660) - at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084) - at petrinet.presentation.PetrinetEditor$5.run(PetrinetEditor.java:773) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4988) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4510) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) - at org.eclipse.equinox.launcher.Main.run(Main.java:1465) - at org.eclipse.equinox.launcher.Main.main(Main.java:1438) - -!ENTRY org.eclipse.jface 4 2 2021-10-09 18:15:36.999 -!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". -!STACK 0 -java.lang.NullPointerException - at petrinet.provider.ArcItemProvider.getText(ArcItemProvider.java:157) - at org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.getText(AdapterFactoryLabelProvider.java:424) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText(WrappedViewerLabelProvider.java:99) - at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:148) - at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:144) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:959) - at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:126) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1037) - at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:427) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2111) - at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:853) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:831) - at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604) - at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:779) - at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1690) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2557) - at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1704) - at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:3029) - at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1660) - at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084) - at petrinet.presentation.PetrinetEditor$5.run(PetrinetEditor.java:773) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4988) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4510) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) - at org.eclipse.equinox.launcher.Main.run(Main.java:1465) - at org.eclipse.equinox.launcher.Main.main(Main.java:1438) - -!ENTRY org.eclipse.jface 4 2 2021-10-09 18:15:37.013 -!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". -!STACK 0 -java.lang.NullPointerException - at petrinet.provider.ArcItemProvider.getText(ArcItemProvider.java:157) - at org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator.getText(AdapterFactoryItemDelegator.java:84) - at petrinet.presentation.PetrinetEditor.setStatusLineManager(PetrinetEditor.java:1711) - at petrinet.presentation.PetrinetEditor.setSelection(PetrinetEditor.java:1690) - at petrinet.presentation.PetrinetEditor$6.selectionChanged(PetrinetEditor.java:886) - at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:151) - at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) - at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) - at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:148) - at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2132) - at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1662) - at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084) - at petrinet.presentation.PetrinetEditor$5.run(PetrinetEditor.java:773) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4988) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4510) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) - at org.eclipse.equinox.launcher.Main.run(Main.java:1465) - at org.eclipse.equinox.launcher.Main.main(Main.java:1438) - -!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-09 18:18:34.904 -!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-09 18:18:36.624 ----------------------------------------------- -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: -data file:/home/lfainsin/miniproj_idm/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product -clean - -!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-09 18:37:11.545 -!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) +!ENTRY org.eclipse.jdt.core 4 969 2021-10-09 22:03:20.166 +!MESSAGE fr.n7.petrinet.toTINA.ui does not exist diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/11/20d40e223729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/11/20d40e223729001c101babefb5abd0b0 new file mode 100644 index 0000000..1ea68ef --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/11/20d40e223729001c101babefb5abd0b0 @@ -0,0 +1,412 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; + +/** + * Entry point of the 'ToTINA' generation module. + * + * @generated + */ +public class ToTINA extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/petrinet/toTINA/main/toTINA"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "networkToTINA" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToTINA() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToTINA(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToTINA(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToTINA generator = new ToTINA(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/15/a01b2cce3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/15/a01b2cce3729001c101babefb5abd0b0 new file mode 100644 index 0000000..aea8674 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/15/a01b2cce3729001c101babefb5abd0b0 @@ -0,0 +1,19 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] + +[query public getPlaces(p: Place) : OrderedSet(Places) = + p.Node + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/17/000026f93729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/17/000026f93729001c101babefb5abd0b0 new file mode 100644 index 0000000..44c621b --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/17/000026f93729001c101babefb5abd0b0 @@ -0,0 +1,19 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] + +[query public getPlaces(p: Place) : OrderedSet(Place) = + p.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/18/607e6fdb3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/18/607e6fdb3729001c101babefb5abd0b0 new file mode 100644 index 0000000..9ed3a20 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/18/607e6fdb3729001c101babefb5abd0b0 @@ -0,0 +1,19 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] + +[query public getPlaces(p: Place) : OrderedSet(Place) = + p.Node + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/1c/e078e8be3329001c1494fb8fe8a38986 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/1c/e078e8be3329001c1494fb8fe8a38986 new file mode 100644 index 0000000..a2a6ec7 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/1c/e078e8be3329001c1494fb8fe8a38986 @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToHTML Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toHTML +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toHTML.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.simplepdl.toHTML.main + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/2f/e0049a553729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/2f/e0049a553729001c101babefb5abd0b0 new file mode 100644 index 0000000..3b703ba --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/2f/e0049a553729001c101babefb5abd0b0 @@ -0,0 +1,10 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name, false, 'UTF-8')] + +[/file] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/31/109011933529001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/31/109011933529001c101babefb5abd0b0 new file mode 100644 index 0000000..0f5acac --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/31/109011933529001c101babefb5abd0b0 @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToDOT Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toDOT +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toDOT.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.simplepdl.toDOT.main + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/38/c0daf76e3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/38/c0daf76e3729001c101babefb5abd0b0 new file mode 100644 index 0000000..8eb1b9c --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/38/c0daf76e3729001c101babefb5abd0b0 @@ -0,0 +1,11 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] + + + +[/file] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/3b/005dfce03a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/3b/005dfce03a29001c101babefb5abd0b0 new file mode 100644 index 0000000..2fd8c37 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/3b/005dfce03a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (a.isOutgoing()) ][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4b/30c98da73729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4b/30c98da73729001c101babefb5abd0b0 new file mode 100644 index 0000000..cd42f7f --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4b/30c98da73729001c101babefb5abd0b0 @@ -0,0 +1,12 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4c/00b6e7233b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4c/00b6e7233b29001c101babefb5abd0b0 new file mode 100644 index 0000000..36a9329 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4c/00b6e7233b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/][/if] [/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4d/6016bd643229001c1494fb8fe8a38986 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4d/6016bd643229001c1494fb8fe8a38986 new file mode 100644 index 0000000..12583f0 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4d/6016bd643229001c1494fb8fe8a38986 @@ -0,0 +1,14 @@ + + developpement + + + +

Process "developpement"

+

Work definitions

+
    +
  • Conception
  • +
  • RedactionDoc requires Conception to be started, Conception to be finished.
  • +
  • Programmation requires Conception to be finished.
  • +
  • RedactionTests requires Conception to be started, Programmation to be finished.
  • +
+ \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/52/a0b702bf3329001c1494fb8fe8a38986 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/52/a0b702bf3329001c1494fb8fe8a38986 new file mode 100644 index 0000000..eafc87d --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/52/a0b702bf3329001c1494fb8fe8a38986 @@ -0,0 +1,416 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; + +/** + * Entry point of the 'ToHTML' generation module. + * + * @generated + */ +public class ToHTML extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/simplepdl/toHTML/main/toHTML"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "processToHTML" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToHTML() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToHTML(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToHTML(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToHTML generator = new ToHTML(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(SimplepdlPackage.class)) + resourceSet.getPackageRegistry().put( + SimplepdlPackage.eNS_URI, SimplepdlPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/57/30dc4a2e3b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/57/30dc4a2e3b29001c101babefb5abd0b0 new file mode 100644 index 0000000..36a9329 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/57/30dc4a2e3b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/][/if] [/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/5a/70593f1d3129001c104bd92b25705779 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/5a/70593f1d3129001c104bd92b25705779 new file mode 100644 index 0000000..01330f2 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/5a/70593f1d3129001c104bd92b25705779 @@ -0,0 +1,10 @@ +[comment encoding = UTF-8 /] +[module toHTML('http://simplepdl')] + + +[template public processToHTML(aProcess : Process)] +[comment @main/] +[file (aProcess.name, false, 'UTF-8')] + +[/file] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/60/3029a79d3b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/60/3029a79d3b29001c101babefb5abd0b0 new file mode 100644 index 0000000..8d99a74 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/60/3029a79d3b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] +pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] +[transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/] [/if][/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/68/006c7d0e3c29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/68/006c7d0e3c29001c101babefb5abd0b0 new file mode 100644 index 0000000..f84faad --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/68/006c7d0e3c29001c101babefb5abd0b0 @@ -0,0 +1,47 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/73/302d57cc3a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/73/302d57cc3a29001c101babefb5abd0b0 new file mode 100644 index 0000000..de8f6a9 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/73/302d57cc3a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/703e1c933529001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/703e1c933529001c101babefb5abd0b0 new file mode 100644 index 0000000..93a82ef --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/703e1c933529001c101babefb5abd0b0 @@ -0,0 +1,416 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; + +/** + * Entry point of the 'ToDOT' generation module. + * + * @generated + */ +public class ToDOT extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/simplepdl/toDOT/main/toDOT"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "processToDot" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToDOT() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToDOT(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToDOT(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToDOT generator = new ToDOT(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(SimplepdlPackage.class)) + resourceSet.getPackageRegistry().put( + SimplepdlPackage.eNS_URI, SimplepdlPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/e0c86f1c3b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/e0c86f1c3b29001c101babefb5abd0b0 new file mode 100644 index 0000000..bde1652 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/75/e0c86f1c3b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (a.outgoing) ][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/76/b01847a73629001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/76/b01847a73629001c101babefb5abd0b0 new file mode 100644 index 0000000..32610e9 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/76/b01847a73629001c101babefb5abd0b0 @@ -0,0 +1,29 @@ +[comment encoding = UTF-8 /] +[module todot('http://simplepdl')] + +[template public processToDot(aProcess : Process)] +[comment @main/] +[file (aProcess.name + '.dot', false, 'UTF-8')] +digraph "[aProcess.name/]" { +[let wss : OrderedSet(WorkSequence) = aProcess.getWSs() ] + [if (wss->size() > 0)] + [for (ws : WorkSequence | wss)] + [ws.afficher()/] + [/for] + [else] + [/if] +[/let] +} +[/file] +[/template] + +[query public getWSs(p: Process) : OrderedSet(WorkSequence) = + p.processElements + ->select( e | e.oclIsTypeOf(WorkSequence) ) + ->collect( e | e.oclAsType(WorkSequence) ) + ->asOrderedSet() +/] + +[template public afficher(ws : WorkSequence) post (trim()) ] +"[ws.predecessor.name/]" -> "[ws.successor.name/]" ['['/]arrowhead=vee label=[ws.linkType/][']'/] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/7c/c090e8ca3429001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/7c/c090e8ca3429001c101babefb5abd0b0 new file mode 100644 index 0000000..d7fdb7b --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/7c/c090e8ca3429001c101babefb5abd0b0 @@ -0,0 +1,11 @@ +developpement + +

Process "developpement"

+

Work definitions

+
    +
  • Conception
  • +
  • RedactionDoc requires Conception to be finished, Conception to be started.
  • +
  • Programmation requires Conception to be finished.
  • +
  • RedactionTests requires Conception to be started, Programmation to be finished.
  • +
+ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/82/50f0e9ca3429001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/82/50f0e9ca3429001c101babefb5abd0b0 new file mode 100644 index 0000000..d7fdb7b --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/82/50f0e9ca3429001c101babefb5abd0b0 @@ -0,0 +1,11 @@ +developpement + +

Process "developpement"

+

Work definitions

+
    +
  • Conception
  • +
  • RedactionDoc requires Conception to be finished, Conception to be started.
  • +
  • Programmation requires Conception to be finished.
  • +
  • RedactionTests requires Conception to be started, Programmation to be finished.
  • +
+ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/84/002177013629001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/84/002177013629001c101babefb5abd0b0 new file mode 100644 index 0000000..b169b13 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/84/002177013629001c101babefb5abd0b0 @@ -0,0 +1,28 @@ +[comment encoding = UTF-8 /] +[module todot('http://simplepdl')] + +[template public processToDot(aProcess : Process)] +[comment @main/] +[file (aProcess.name + '.dot', false, 'UTF-8')] +digraph "[aProcess.name/]" { +[let wss : OrderedSet(WorkSequence) = aProcess.getWSs() ] + [if (wss->size() > 0)] + [for (ws : WorkSequence | wss)] + [ws.afficher()/] + [/for] + [else] + [/if] +[/let] +} +[/file] +[/template] + +[query public getWSs(p: Process) : OrderedSet(WorkSequence) = + p.processElements->select( e | e.oclIsTypeOf(WorkSequence) ) + ->collect( e | e.oclAsType(WorkSequence) ) + ->asOrderedSet() +/] + +[template public afficher(ws : WorkSequence) post (trim()) ] +"[ws.predecessor.name/]" -> "[ws.successor.name/]" ['['/]arrowhead=vee label=[ws.linkType/][']'/] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/87/d0d781d93a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/87/d0d781d93a29001c101babefb5abd0b0 new file mode 100644 index 0000000..4651de8 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/87/d0d781d93a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.Arcs())][if (a.isOutgoing()) ][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/40c3ea413629001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/40c3ea413629001c101babefb5abd0b0 new file mode 100644 index 0000000..860a35f --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/40c3ea413629001c101babefb5abd0b0 @@ -0,0 +1,7 @@ +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] +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/c09606223729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/c09606223729001c101babefb5abd0b0 new file mode 100644 index 0000000..6ead54c --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/88/c09606223729001c101babefb5abd0b0 @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToTINA Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.petrinet.toTINA +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.petrinet.toTINA.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.petrinet.toTINA.main + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/8f/30a8cb2b3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/8f/30a8cb2b3729001c101babefb5abd0b0 new file mode 100644 index 0000000..211606c --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/8f/30a8cb2b3729001c101babefb5abd0b0 @@ -0,0 +1,418 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; +import petrinet.PetrinetPackage; +import simplepdl.SimplepdlPackage; + +/** + * Entry point of the 'ToTINA' generation module. + * + * @generated + */ +public class ToTINA extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/petrinet/toTINA/main/toTINA"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "networkToTINA" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToTINA() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToTINA(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToTINA(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToTINA generator = new ToTINA(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(PetrinetPackage.class)) + resourceSet.getPackageRegistry().put( + PetrinetPackage.eNS_URI, PetrinetPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a/d02f7d0e3a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a/d02f7d0e3a29001c101babefb5abd0b0 new file mode 100644 index 0000000..69377f6 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a/d02f7d0e3a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] + +tr [t.name/] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ac/60a814d73a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ac/60a814d73a29001c101babefb5abd0b0 new file mode 100644 index 0000000..d210f02 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ac/60a814d73a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.getArcs())][if (a.isOutgoing()) ][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ad/204a148d3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ad/204a148d3729001c101babefb5abd0b0 new file mode 100644 index 0000000..b49fc0d --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ad/204a148d3729001c101babefb5abd0b0 @@ -0,0 +1,12 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net "[aNetwork.name/]" + + + +[/file] +[/template] diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d/607673bb3329001c1494fb8fe8a38986 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d/607673bb3329001c1494fb8fe8a38986 new file mode 100644 index 0000000..1d8bf87 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d/607673bb3329001c1494fb8fe8a38986 @@ -0,0 +1,412 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; + +/** + * Entry point of the 'ToHTML' generation module. + * + * @generated + */ +public class ToHTML extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/simplepdl/toHTML/main/toHTML"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "processToHTML" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToHTML() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToHTML(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToHTML(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToHTML generator = new ToHTML(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0687bcb3929001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0687bcb3929001c101babefb5abd0b0 new file mode 100644 index 0000000..dc2318d --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0687bcb3929001c101babefb5abd0b0 @@ -0,0 +1,26 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] + + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d013bb483829001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d013bb483829001c101babefb5abd0b0 new file mode 100644 index 0000000..3ad88a6 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d013bb483829001c101babefb5abd0b0 @@ -0,0 +1,19 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d9/5030b09a3b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d9/5030b09a3b29001c101babefb5abd0b0 new file mode 100644 index 0000000..50f6b45 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d9/5030b09a3b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/] [/if][/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/dd/4072c9c73b29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/dd/4072c9c73b29001c101babefb5abd0b0 new file mode 100644 index 0000000..8d99a74 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/dd/4072c9c73b29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] +pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] +[transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/] [/if][/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e1/c0746ab83629001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e1/c0746ab83629001c101babefb5abd0b0 new file mode 100644 index 0000000..aa82960 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e1/c0746ab83629001c101babefb5abd0b0 @@ -0,0 +1,61 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e7/40a317543a29001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e7/40a317543a29001c101babefb5abd0b0 new file mode 100644 index 0000000..70f6c8c --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/e7/40a317543a29001c101babefb5abd0b0 @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] + pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] + [transition.afficher()/] + [/for] + [else] + [/if] +[/let] + +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[let outgoing : t.getArcs()->select( e | e.isOutgoing() ) ] +tr [t.name/] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ed/c073c3a13129001c104bd92b25705779 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ed/c073c3a13129001c104bd92b25705779 new file mode 100644 index 0000000..3f15aeb --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ed/c073c3a13129001c104bd92b25705779 @@ -0,0 +1,47 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/fa/902404fd3729001c101babefb5abd0b0 b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/fa/902404fd3729001c101babefb5abd0b0 new file mode 100644 index 0000000..0781e46 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.history/fa/902404fd3729001c101babefb5abd0b0 @@ -0,0 +1,19 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.tina', false, 'UTF-8')] +net [aNetwork.name/] + + + +[/file] +[/template] + +[query public getPlaces(p: Network) : OrderedSet(Place) = + p.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/org.eclipse.jdt.core/state.dat deleted file mode 100644 index 75f0f70..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.edit/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/org.eclipse.jdt.core/state.dat deleted file mode 100644 index 05b0f31..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.editor/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/history.index new file mode 100644 index 0000000..2eef5b9 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/properties.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/properties.index new file mode 100644 index 0000000..c5d75db Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/50/properties.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/history.index index 2f095aa..cc3d9d9 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/history.index and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.indexes/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.exemples/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.indexes/properties.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.indexes/properties.index index 9c72f60..9da4e04 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.indexes/properties.index and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.indexes/properties.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.feature/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/org.eclipse.jdt.core/state.dat deleted file mode 100644 index f53b9a3..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.tests/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.markers.snap new file mode 100644 index 0000000..91d6c54 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.syncinfo.snap new file mode 100644 index 0000000..91d6c54 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA.ui/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/7/cc/89/47/1d/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/7/cc/89/47/1d/b9/history.index new file mode 100644 index 0000000..a0e7770 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/7/cc/89/47/1d/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/e4/cc/89/47/1d/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/e4/cc/89/47/1d/b9/history.index new file mode 100644 index 0000000..3d8ee78 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/e4/cc/89/47/1d/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/f9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/f9/history.index new file mode 100644 index 0000000..318624c Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.indexes/f9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.markers.snap new file mode 100644 index 0000000..829d30b Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.syncinfo.snap new file mode 100644 index 0000000..c8b1e33 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/1.tree b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/1.tree new file mode 100644 index 0000000..23f43aa Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet.toTINA/1.tree differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/org.eclipse.jdt.core/state.dat deleted file mode 100644 index f4390c0..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.petrinet/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/org.eclipse.jdt.core/state.dat deleted file mode 100644 index b1e4c63..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.edit/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/org.eclipse.jdt.core/state.dat deleted file mode 100644 index 963b205..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.editor/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/history.index new file mode 100644 index 0000000..63de124 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/properties.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/properties.index new file mode 100644 index 0000000..ee1e541 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/50/properties.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/history.index index 81208e8..e66634c 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/history.index and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.indexes/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.exemples/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.indexes/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.indexes/history.index new file mode 100644 index 0000000..ab22097 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.indexes/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.feature/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/org.eclipse.jdt.core/state.dat deleted file mode 100644 index 77e3c44..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.tests/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.markers.snap new file mode 100644 index 0000000..69cb484 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.syncinfo.snap new file mode 100644 index 0000000..c8b1e33 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT.ui/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/7/cc/89/fa/ce/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/7/cc/89/fa/ce/b9/history.index new file mode 100644 index 0000000..10bcdcf Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/7/cc/89/fa/ce/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/e4/cc/89/fa/ce/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/e4/cc/89/fa/ce/b9/history.index new file mode 100644 index 0000000..48d97da Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/e4/cc/89/fa/ce/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/f9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/f9/history.index new file mode 100644 index 0000000..e3403c8 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.indexes/f9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.markers.snap new file mode 100644 index 0000000..154c913 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.syncinfo.snap new file mode 100644 index 0000000..b1e253e Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/1.tree b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/1.tree new file mode 100644 index 0000000..bd80112 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toDOT/1.tree differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers new file mode 100644 index 0000000..e3eb545 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML.ui/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/7/cc/89/fa/5a/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/7/cc/89/fa/5a/b9/history.index new file mode 100644 index 0000000..dee4cac Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/7/cc/89/fa/5a/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/e4/cc/89/fa/5a/b9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/e4/cc/89/fa/5a/b9/history.index new file mode 100644 index 0000000..799afb6 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/e4/cc/89/fa/5a/b9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/f9/history.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/f9/history.index new file mode 100644 index 0000000..e820b43 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.indexes/f9/history.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers new file mode 100644 index 0000000..80eaebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers.snap new file mode 100644 index 0000000..595d304 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/org.eclipse.acceleo.common/acceleo.state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/org.eclipse.acceleo.common/acceleo.state.dat new file mode 100644 index 0000000..c00e898 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl.toHTML/org.eclipse.acceleo.common/acceleo.state.dat differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.markers.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.syncinfo.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.syncinfo.snap new file mode 100644 index 0000000..b9c9ebc Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/.syncinfo.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/org.eclipse.jdt.core/state.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/org.eclipse.jdt.core/state.dat deleted file mode 100644 index 481851b..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/fr.n7.simplepdl/org.eclipse.jdt.core/state.dat and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index index 13a0fb2..f897c94 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap new file mode 100644 index 0000000..7818a74 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/18.tree b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/20.tree similarity index 78% rename from eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/18.tree rename to eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/20.tree index 5295254..9c417a0 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/18.tree and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.root/20.tree differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources index cb4be74..3e1f121 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/20.snap b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/20.snap new file mode 100644 index 0000000..223fe2e Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/20.snap differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs new file mode 100644 index 0000000..132b6df --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +internalWebBrowserHistory=file\:///home/lfainsin/miniproj_idm/eclipse-workspace/fr.n7.petrinet/petrinet.png|*|file\:/home/lfainsin/miniproj_idm/eclipse-workspace/fr.n7.petrinet/petrinet.png|*|file\:///home/lfainsin/miniproj_idm/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.html|*|file\:/home/lfainsin/miniproj_idm/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.html|*| diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs index c49b049..a1a5409 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs @@ -1,5 +1,5 @@ PROBLEMS_FILTERS_MIGRATE=true eclipse.preferences.version=1 -platformState=1631777710644 +platformState=1631777710657 quickStart=false tipsAndTricks=true diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch deleted file mode 100644 index 45ea84e..0000000 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/SimplePDLCreator.launch b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/SimplePDLCreator.launch index f60610d..e1bac2c 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/SimplePDLCreator.launch +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/SimplePDLCreator.launch @@ -7,7 +7,8 @@ + - + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/ToDOT.launch b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/ToDOT.launch new file mode 100644 index 0000000..93c32bc --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/ToDOT.launch @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toHTML.launch b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toHTML.launch new file mode 100644 index 0000000..6efba45 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toHTML.launch @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toTINA.launch b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toTINA.launch new file mode 100644 index 0000000..79ea897 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/toTINA.launch @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml index b371122..5fd54c5 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml @@ -3,8 +3,8 @@
- - + +
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml index 7ae3500..baf9a74 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml @@ -2,12 +2,19 @@ + + + - + + + + + @@ -16,6 +23,9 @@ + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/eclipse-workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi index 439ea6f..aa9b80d 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -1,8 +1,8 @@ - - + + activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration - + @@ -11,9 +11,9 @@ topLevel shellMaximized - - - + + + persp.actionSet:org.eclipse.acceleo.ide.ui.editors.template.actionSet persp.actionSet:org.eclipse.ui.cheatsheets.actionSet @@ -35,34 +35,34 @@ persp.viewSC:org.eclipse.ui.views.ProblemView persp.actionSet:org.eclipse.debug.ui.launchActionSet persp.newWizSC:org.eclipse.ecoretools.emf.design.wizardID - - - + + + noFocus - + View categoryTag:Sirius - - + + View categoryTag:General - + View categoryTag:General - - - - + + + + View categoryTag:General - + View categoryTag:General @@ -70,7 +70,7 @@ - + persp.actionSet:org.eclipse.acceleo.ide.ui.editors.template.actionSet persp.actionSet:org.eclipse.ui.cheatsheets.actionSet @@ -83,53 +83,53 @@ persp.actionSet:org.eclipse.ui.actionSet.keyBindings persp.actionSet:org.eclipse.ui.actionSet.openFiles persp.newWizSC:org.eclipse.ecoretools.emf.design.wizardID - - - + + + noFocus - + View categoryTag:General NoClose - - + + View categoryTag:General NoClose - + View categoryTag:General - - - - - + + + + + View categoryTag:General NoClose - + View categoryTag:General - + General - + View categoryTag:Ecore Tools - + View categoryTag:Ecore Tools - + View categoryTag:General @@ -138,7 +138,7 @@ - + persp.actionSet:org.eclipse.acceleo.ide.ui.editors.template.actionSet persp.actionSet:org.eclipse.ui.cheatsheets.actionSet @@ -186,56 +186,57 @@ persp.viewSC:org.eclipse.jdt.ui.PackageExplorer persp.viewSC:org.eclipse.pde.ui.TargetPlatformState persp.newWizSC:org.eclipse.pde.ds.ui.wizard - - + + org.eclipse.e4.primaryNavigationStack - + noFocus + View categoryTag:General - + View categoryTag:General - + View categoryTag:Java - + View categoryTag:Plug-in Development - - - - - + + + + + View categoryTag:General - + View categoryTag:General - + org.eclipse.e4.secondaryDataStack General - + View categoryTag:General - + View categoryTag:Plug-in Development - + View categoryTag:General - + View categoryTag:General @@ -243,2263 +244,2430 @@ + + + persp.actionSet:org.eclipse.acceleo.ide.ui.editors.template.actionSet + persp.actionSet:org.eclipse.ui.cheatsheets.actionSet + persp.actionSet:org.eclipse.search.searchActionSet + persp.actionSet:org.eclipse.text.quicksearch.actionSet + persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo + persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet + persp.actionSet:org.eclipse.ui.actionSet.keyBindings + persp.actionSet:org.eclipse.ui.actionSet.openFiles + persp.actionSet:org.eclipse.debug.ui.launchActionSet + persp.actionSet:org.eclipse.jdt.ui.JavaActionSet + persp.actionSet:org.eclipse.jdt.ui.JavaElementCreationActionSet + persp.actionSet:org.eclipse.ui.NavigateActionSet + persp.viewSC:org.eclipse.acceleo.ide.ui.views.overrides.OverridesBrowser + persp.viewSC:org.eclipse.acceleo.ide.ui.views.proposals.ProposalsBrowser + persp.viewSC:org.eclipse.acceleo.ui.interpreter.view + persp.viewSC:org.eclipse.jdt.ui.PackageExplorer + persp.viewSC:org.eclipse.ui.console.ConsoleView + persp.viewSC:org.eclipse.ui.views.ContentOutline + persp.viewSC:org.eclipse.ui.views.ProblemView + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newfile.AcceleoModuleWizard + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newfile.AcceleoNewTemplatesWizard + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newfile.main.AcceleoNewMainTemplateWizard + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newproject.AcceleoNewProjectWizard + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newproject.AcceleoNewProjectUIWizard + persp.newWizSC:org.eclipse.acceleo.ide.ui.wizards.newproject.AcceleoConvertProjectWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewPackageCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewClassCreationWizard + persp.newWizSC:org.eclipse.ui.wizards.new.folder + persp.newWizSC:org.eclipse.ui.wizards.new.file + persp.newWizSC:org.eclipse.ui.editors.wizards.UntitledTextFileWizard + persp.perspSC:org.eclipse.acceleo.ide.ui.AcceleoPerspective + persp.actionSet:org.eclipse.ui.edit.text.actionSet.presentation + + + active + + View + categoryTag:Java + + + + + + + + View + categoryTag:General + + + View + categoryTag:General + + + + + + + View + categoryTag:Acceleo Model to Text + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + + Minimized + + View + categoryTag:Acceleo Model to Text + + + View + categoryTag:Acceleo Model to Text + + + + + + - - + + View categoryTag:Help - + View categoryTag:General - + View categoryTag:Help - + View categoryTag:Help - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:Help - - + + org.eclipse.e4.primaryDataStack EditorStack - active - - + + Editor removeOnHide - petrinet.presentation.PetrinetEditorID + org.eclipse.acceleo.ide.ui.editors.template.AcceleoEditor - - + + Editor removeOnHide - org.eclipse.jdt.ui.CompilationUnitEditor + org.eclipse.acceleo.ide.ui.editors.template.AcceleoEditor - - + + Editor removeOnHide - org.eclipse.jdt.ui.CompilationUnitEditor - active - activeOnClose + org.eclipse.acceleo.ide.ui.editors.template.AcceleoEditor - + View categoryTag:Sirius - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:Ecore Tools - + ViewMenu menuContribution:menu - + - + View categoryTag:Ecore Tools - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + highlighted + ViewMenu menuContribution:menu - + - + View categoryTag:Java - + View categoryTag:Plug-in Development - + ViewMenu menuContribution:menu - + - + View categoryTag:Plug-in Development - + View categoryTag:General - + ViewMenu menuContribution:menu - + - - + + + + + View + categoryTag:Java + active + + ViewMenu + menuContribution:menu + + + + + + + + View + categoryTag:Acceleo Model to Text + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + + View + categoryTag:Acceleo Model to Text + + ViewMenu + menuContribution:menu + + + + + + + + View + categoryTag:Acceleo Model to Text + + ViewMenu + menuContribution:menu + + + + + toolbarSeparator - + - + Draggable - + - + toolbarSeparator - + - + Draggable - + toolbarSeparator - + - + Draggable - + Draggable - + Draggable - + Draggable - + toolbarSeparator - + - + Draggable - + - - toolbarSeparator - - - - toolbarSeparator - - - + Draggable - + + toolbarSeparator + + + + toolbarSeparator + + + + Draggable + + stretch SHOW_RESTORE_MENU - + Draggable HIDEABLE SHOW_RESTORE_MENU - - + + stretch - + Draggable - + Draggable - - + + + TrimStack + Draggable + + + + TrimStack Draggable - - - - - - - - - - - - - - + + + + + + + + + + + + + platform:gtk - - - - + + + + platform:gtk - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - + + - - - - - - - - + + + + + + + + - - + + - - - + + + - - - - - + + + + + - - + + - - - + + + - - - - - - - + + + + + + + platform:gtk - - - - - + + + + + - - + + - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - - - - - - + + + + + + + + locale:fr - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + + platform:gtk - + platform:gtk - + platform:gtk - - - - - - + + + + + + - - + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - + + - - - - - - + + + + + + - - - + + + - - - + + + - - + + - - - - - - + + + + + + - - + + - - - - - - - - + + + + + + + + - - - - + + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Editor removeOnHide - + View categoryTag:Acceleo Model to Text - + View categoryTag:Acceleo Model to Text - + View categoryTag:Acceleo Model to Text - + View categoryTag:Ant - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:CDO - + View categoryTag:CDO - + View categoryTag:CDO - + View categoryTag:CDO - + View categoryTag:CDO - + View categoryTag:CDO - + View categoryTag:EMF Compare - + View categoryTag:Ecore Tools - + View categoryTag:Ecore Tools - + View categoryTag:General - + View categoryTag:Help - + View categoryTag:Debug - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java - + View categoryTag:General - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:ATL Profiler - + View categoryTag:ATL Profiler - + View categoryTag:Debug - + View categoryTag:Net4j - + View categoryTag:Net4j - + View categoryTag:Net4j Debug - + View categoryTag:Net4j Debug - + View categoryTag:OCL - + View categoryTag:Oomph - + View categoryTag:API Tools - + View categoryTag:Plug-in Development - + View categoryTag:Plug-in Development - + View categoryTag:Plug-in Development - + View categoryTag:Plug-in Development - + View categoryTag:Plug-in Development - + View categoryTag:Plug-in Development - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Sirius Profiler - + View categoryTag:Sirius - + View categoryTag:Team - + View categoryTag:Team - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Help - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Xtend - + View categoryTag:Xtext - + View categoryTag:Xtext - - + + glue move_after:PerspectiveSpacer SHOW_RESTORE_MENU - + move_after:Spacer Glue HIDEABLE SHOW_RESTORE_MENU - + glue move_after:SearchField SHOW_RESTORE_MENU - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1001394679.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1001394679.index new file mode 100644 index 0000000..d72f353 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1001394679.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/113784225.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/113784225.index new file mode 100644 index 0000000..8298c95 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/113784225.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1288722511.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1288722511.index new file mode 100644 index 0000000..3dd06cb Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1288722511.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1638374812.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1638374812.index new file mode 100644 index 0000000..5e82a8f Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/1638374812.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2133193807.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2133193807.index new file mode 100644 index 0000000..a06aa45 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2133193807.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/243785569.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/243785569.index new file mode 100644 index 0000000..f458a93 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/243785569.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2662280364.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2662280364.index new file mode 100644 index 0000000..9f5900c Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2662280364.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2944618107.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2944618107.index new file mode 100644 index 0000000..4dd368a Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/2944618107.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/361289234.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/361289234.index new file mode 100644 index 0000000..01627a9 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/361289234.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3745962735.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3745962735.index new file mode 100644 index 0000000..9935f56 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3745962735.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3977823992.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3977823992.index new file mode 100644 index 0000000..167ed8d Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3977823992.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3982670021.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3982670021.index new file mode 100644 index 0000000..20f7446 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/3982670021.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/4244811416.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/4244811416.index new file mode 100644 index 0000000..dce4710 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/4244811416.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/686276266.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/686276266.index new file mode 100644 index 0000000..e8db7e0 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/686276266.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/69115327.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/69115327.index new file mode 100644 index 0000000..8061592 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/69115327.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/870911012.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/870911012.index new file mode 100644 index 0000000..75b203c Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/870911012.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/997444292.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/997444292.index new file mode 100644 index 0000000..4a3d541 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/997444292.index differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache index 4755052..8b57603 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps index ad92649..b5de14f 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache index c27128a..b3ba01b 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt index 730d8ba..21b407b 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt @@ -1,40 +1,24 @@ INDEX VERSION 1.131+/home/lfainsin/miniproj_idm/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core -2684007147.index -1332398772.index -3386340968.index -618880026.index -1190385766.index -3761123150.index -1366149182.index -3144547538.index -836787774.index -2320756977.index -3370953800.index -1610757853.index -3228602193.index -594756272.index +997444292.index +3982670021.index 976850906.index -3674129442.index -649822626.index -646308851.index -1969063402.index -2315287759.index -830761727.index -489623180.index -4270576026.index -1612303704.index -701648383.index -3144173601.index -3591232502.index -1259215892.index -1744987098.index -1027991553.index 638382064.index -2469834123.index -687162898.index -2479976885.index -764202902.index -124733140.index +1027991553.index 3756796416.index -3499872082.index +764202902.index +618880026.index +2662280364.index +3591232502.index 264048023.index +3745962735.index +2315287759.index +2320756977.index +1612303704.index +2469834123.index +3386340968.index +489623180.index +3674129442.index +686276266.index +1610757853.index +3144547538.index +3977823992.index diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat index 17bf995..ca1e396 100644 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.debug.ui/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.debug.ui/dialog_settings.xml new file mode 100644 index 0000000..b1d7caa --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.debug.ui/dialog_settings.xml @@ -0,0 +1,14 @@ + +
+
+ + +
+ + + + + +
+
+
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml index bd56454..c49a722 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml @@ -9,4 +9,11 @@
+
+ + + + + +
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png new file mode 100644 index 0000000..672f75e Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png new file mode 100644 index 0000000..956a366 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.history b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.history index cb18330..45ac0fb 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.history +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.history @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.index index 139c294..dfec1dc 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.index +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2021/10/40/refactorings.index @@ -6,3 +6,4 @@ 1633791020843 Delete resource 'fr.n7.petrinet/network1-ok.xmi' 1633792598368 Delete resource 'fr.n7.simplepdl.plugin' 1633795481588 Delete resource 'fr.n7.petrinet.exemples/My.petrinet' +1633809799098 Delete resource 'fr.n7.petrinet.toTINA.ui' diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.history b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.history new file mode 100644 index 0000000..1f6757b --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.history @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.index new file mode 100644 index 0000000..7c1bc9c --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet.exemples/2021/10/40/refactorings.index @@ -0,0 +1 @@ +1633806726107 Delete elements diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.history b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.history index 91abf4e..ac55d54 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.history +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.history @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.index index 6d55170..629cdd9 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.index +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.petrinet/2021/10/40/refactorings.index @@ -6,3 +6,4 @@ 1633791493734 Rename resource 'network1-ok.xmi' 1633791501864 Rename resource 'network1-ko.xmi' 1633794223683 Delete element +1633809576140 Copy file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.history b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.history index bad205c..7b6a438 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.history +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.history @@ -1,4 +1,3 @@ - - + \ No newline at end of file diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.index b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.index index 192b78f..0888cc5 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.index +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/fr.n7.simplepdl.exemples/2021/10/40/refactorings.index @@ -1 +1,5 @@ 1633793949009 Move 'developpement.simplepdl' to 'fr.n7.simplepdl.exemples' +1633805695702 Delete element +1633806316105 Delete element +1633806635324 Delete elements +1633807355256 Delete element diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties index 74522de..abf0e6d 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties @@ -1,2 +1,2 @@ #Cached timestamps -#Sat Oct 09 18:37:11 CEST 2021 +#Sat Oct 09 21:07:40 CEST 2021 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributions.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributions.1 deleted file mode 100644 index f289ee1..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributions.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributors.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributors.1 deleted file mode 100644 index 1de5851..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.contributors.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.extraData.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.extraData.1 deleted file mode 100644 index 73d9f59..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.extraData.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.mainData.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.mainData.1 deleted file mode 100644 index 0346969..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.mainData.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.7 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.7 deleted file mode 100644 index c7a07ca..0000000 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.7 +++ /dev/null @@ -1,10 +0,0 @@ -#safe table -#Sat Oct 09 18:37:11 CEST 2021 -.orphans=0 -.mainData=0 -.contributors=0 -.namespaces=0 -.extraData=0 -.contributions=0 -.table=0 -.crc04abac59.v1 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.8 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.8 deleted file mode 100644 index c9f071a..0000000 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.fileTable.8 +++ /dev/null @@ -1,10 +0,0 @@ -#safe table -#Sat Oct 09 18:37:11 CEST 2021 -.orphans=1 -.mainData=1 -.contributors=1 -.namespaces=1 -.extraData=1 -.contributions=1 -.table=1 -.crccbd99662.v1 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.tmp2479340851002185577.instance b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.manager/.tmp2479340851002185577.instance new file mode 100644 index 0000000..e69de29 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.namespaces.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.namespaces.1 deleted file mode 100644 index 9c07c16..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.namespaces.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.orphans.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.orphans.1 deleted file mode 100644 index fbd8f94..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.orphans.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.table.1 b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.table.1 deleted file mode 100644 index 9496c9b..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.extensions/.table.1 and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-10.profile b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-10.profile index 7a30226..f046427 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-10.profile +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-10.profile @@ -1,4 +1,4 @@ -#Sat Oct 09 18:17:59 CEST 2021 +#Sat Oct 09 21:07:01 CEST 2021 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, OSGi/Minimum-1.1, OSGi/Minimum-1.2, JavaSE/compact1-1.8, JavaSE/compact2-1.8, JavaSE/compact3-1.8, JRE-1.1, J2SE-1.2, J2SE-1.3, J2SE-1.4, J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8, JavaSE-9, JavaSE-10 org.eclipse.jdt.core.compiler.codegen.targetPlatform=10 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-11.profile b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-11.profile index 8f52775..a74eecd 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-11.profile +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-11.profile @@ -1,4 +1,4 @@ -#Sat Oct 09 18:17:59 CEST 2021 +#Sat Oct 09 21:07:01 CEST 2021 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, OSGi/Minimum-1.1, OSGi/Minimum-1.2, JavaSE/compact1-1.8, JavaSE/compact2-1.8, JavaSE/compact3-1.8, JRE-1.1, J2SE-1.2, J2SE-1.3, J2SE-1.4, J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8, JavaSE-9, JavaSE-10, JavaSE-11 org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-12.profile b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-12.profile index 6efff5b..d33c574 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-12.profile +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-12.profile @@ -1,4 +1,4 @@ -#Sat Oct 09 18:17:59 CEST 2021 +#Sat Oct 09 21:07:01 CEST 2021 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, OSGi/Minimum-1.1, OSGi/Minimum-1.2, JavaSE/compact1-1.8, JavaSE/compact2-1.8, JavaSE/compact3-1.8, JRE-1.1, J2SE-1.2, J2SE-1.3, J2SE-1.4, J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8, JavaSE-9, JavaSE-10, JavaSE-11, JavaSE-12 org.eclipse.jdt.core.compiler.codegen.targetPlatform=12 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-13.profile b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-13.profile index 7694403..fe2562d 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-13.profile +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-13.profile @@ -1,4 +1,4 @@ -#Sat Oct 09 18:17:59 CEST 2021 +#Sat Oct 09 21:07:01 CEST 2021 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, OSGi/Minimum-1.1, OSGi/Minimum-1.2, JavaSE/compact1-1.8, JavaSE/compact2-1.8, JavaSE/compact3-1.8, JRE-1.1, J2SE-1.2, J2SE-1.3, J2SE-1.4, J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8, JavaSE-9, JavaSE-10, JavaSE-11, JavaSE-12, JavaSE-13 org.eclipse.jdt.core.compiler.codegen.targetPlatform=13 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-14.profile b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-14.profile index a213ce2..6789e53 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-14.profile +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.profiles/JavaSE-14.profile @@ -1,4 +1,4 @@ -#Sat Oct 09 18:17:59 CEST 2021 +#Sat Oct 09 21:07:01 CEST 2021 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, OSGi/Minimum-1.1, OSGi/Minimum-1.2, JavaSE/compact1-1.8, JavaSE/compact2-1.8, JavaSE/compact3-1.8, JRE-1.1, J2SE-1.2, J2SE-1.3, J2SE-1.4, J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8, JavaSE-9, JavaSE-10, JavaSE-11, JavaSE-12, JavaSE-13, JavaSE-14 org.eclipse.jdt.core.compiler.codegen.targetPlatform=14 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/SavedExternalPluginList.txt b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/SavedExternalPluginList.txt index c4fd5dd..0c21eec 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/SavedExternalPluginList.txt +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/SavedExternalPluginList.txt @@ -1,4 +1,4 @@ -# List of external plug-in models previously loaded. Timestamp: 1633796329498 +# List of external plug-in models previously loaded. Timestamp: 1633806471706 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 @@ -10,10 +10,12 @@ file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86 file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.petrinet.edit_1.0.0.202110091817.jar file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.petrinet.editor_1.0.0.202110091817.jar file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.petrinet.tests_1.0.0.202110091817.jar -file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl_1.0.0.202110091748.jar -file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.edit_1.0.0.202110091748.jar -file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.editor_1.0.0.202110091748.jar -file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.tests_1.0.0.202110091748.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar +file:/home/lfainsin/.eclipse/org.eclipse.platform_4.17.0_630142970_linux_gtk_x86_64/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/io.github.classgraph_4.8.35.v20190528-1517.jar file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/javax.annotation_1.3.5.v20200504-1837.jar file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/javax.el_2.2.0.v201303151357.jar diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml new file mode 100644 index 0000000..fc0a0b4 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs new file mode 100644 index 0000000..93d8250 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/description= +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/isSystem=true +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/name=download cache +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/provider= +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/type=org.eclipse.equinox.p2.artifact.repository.simpleRepository +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/uri=file\:/home/lfainsin/miniproj_idm/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.core/cache/ +repositories/file\:_home_lfainsin_miniproj_idm_eclipse-workspace_.metadata_.plugins_org.eclipse.pde.core_p2_org.eclipse.equinox.p2.core_cache/version=1 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/.lock b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/.lock new file mode 100644 index 0000000..e69de29 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/1633806016109.profile.gz b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/1633806016109.profile.gz new file mode 100644 index 0000000..28400ea Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/1633806016109.profile.gz differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/state.properties b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/state.properties new file mode 100644 index 0000000..b871858 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/org.eclipse.equinox.p2.engine/profileRegistry/_home_gdupont_gls-v2020-etu_eclipse-gls.profile/state.properties @@ -0,0 +1,3 @@ +#Sat Oct 09 21:00:16 CEST 2021 +1633806016109.org.eclipse.equinox.p2.state.shared=initial +1633806016109._simpleProfileRegistry_internal_-1=-1 diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/pools.info b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/pools.info new file mode 100644 index 0000000..62b27a5 --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/pools.info @@ -0,0 +1 @@ +/home/lfainsin/miniproj_idm/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/profiles.info b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/profiles.info new file mode 100644 index 0000000..fba55ee --- /dev/null +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/p2/profiles.info @@ -0,0 +1 @@ +_home_gdupont_gls-v2020-etu_eclipse-gls|Installation|/home/lfainsin/miniproj_idm/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core|/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09| diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/artifacts.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/artifacts.xml index 4627777..49d11a4 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/artifacts.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/artifacts.xml @@ -2,7 +2,7 @@ - + @@ -10,31 +10,41 @@ - - + + + + + + + - + - + - + - + - + - + - + - + - + + + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/content.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/content.xml index f5e0bbf..ba6a61a 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/content.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/content.xml @@ -2,161 +2,29 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fr.n7.petrinet.editor - - - - - - - - - - - Bundle-SymbolicName: fr.n7.petrinet.editor;singleton:=true Bundle-Version: 1.0.0.202110091817 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fr.n7.petrinet.tests - - - - - - - - - - - Bundle-SymbolicName: fr.n7.petrinet.tests;singleton:=true Bundle-Version: 1.0.0.202110091817 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fr.n7.petrinet - - - - - - - - - - - Bundle-SymbolicName: fr.n7.petrinet;singleton:=true Bundle-Version: 1.0.0.202110091817 - - - - - - + + + - + - + - - - - - - + + + + + + + + (org.eclipse.update.install.features=true) @@ -172,20 +40,66 @@ [Enter Copyright Description here.] - - + + - + - - - - + + + + + + + + + + + + + + + + + + + + + fr.n7.simplepdl.editor + + + + + + + + + + + Bundle-SymbolicName: fr.n7.simplepdl.editor;singleton:=true Bundle-Version: 1.0.0.202110092107 + + + + + + + + + + + + + + + + + + @@ -195,42 +109,177 @@ - + - fr.n7.petrinet.edit + fr.n7.simplepdl.edit - + - Bundle-SymbolicName: fr.n7.petrinet.edit;singleton:=true Bundle-Version: 1.0.0.202110091817 + Bundle-SymbolicName: fr.n7.simplepdl.edit;singleton:=true Bundle-Version: 1.0.0.202110092107 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fr.n7.simplepdl.toHTML.ui + + + + + + + + + + + Bundle-SymbolicName: fr.n7.simplepdl.toHTML.ui;singleton:=true Bundle-Version: 1.0.0.202110092107 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fr.n7.simplepdl.tests + + + + + + + + + + + Bundle-SymbolicName: fr.n7.simplepdl.tests;singleton:=true Bundle-Version: 1.0.0.202110092107 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fr.n7.simplepdl + + + + + + + + + + + Bundle-SymbolicName: fr.n7.simplepdl;singleton:=true Bundle-Version: 1.0.0.202110092107 + + + + + - + - + - + (org.eclipse.update.install.features=true) - + @@ -249,5 +298,53 @@ [Enter Copyright Description here.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fr.n7.simplepdl.toHTML + + + + + + + + + + + Bundle-SymbolicName: fr.n7.simplepdl.toHTML Bundle-Version: 1.0.0.202110092107 + + + + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.petrinet.feature_1.0.0.202110091817.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.petrinet.feature_1.0.0.202110091817.jar deleted file mode 100644 index 7bdb949..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.petrinet.feature_1.0.0.202110091817.jar and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar new file mode 100644 index 0000000..7f5da81 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.edit_1.0.0.202110091817.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.edit_1.0.0.202110091817.jar deleted file mode 100644 index 5660138..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.edit_1.0.0.202110091817.jar and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.editor_1.0.0.202110091817.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.editor_1.0.0.202110091817.jar deleted file mode 100644 index 23d94d5..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.editor_1.0.0.202110091817.jar and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.tests_1.0.0.202110091817.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.tests_1.0.0.202110091817.jar deleted file mode 100644 index ce4f0d9..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet.tests_1.0.0.202110091817.jar and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet_1.0.0.202110091817.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet_1.0.0.202110091817.jar deleted file mode 100644 index 5d0e7bc..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.petrinet_1.0.0.202110091817.jar and /dev/null differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar new file mode 100644 index 0000000..6a71542 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar new file mode 100644 index 0000000..caa9f2f Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar new file mode 100644 index 0000000..49f402a Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar new file mode 100644 index 0000000..a57fde1 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar new file mode 100644 index 0000000..c157b63 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar new file mode 100644 index 0000000..bc7d9b1 Binary files /dev/null and b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/tempp2metadata/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar differ diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.ui/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.ui/dialog_settings.xml index a8f705b..92ddf48 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.ui/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.ui/dialog_settings.xml @@ -32,4 +32,20 @@
+
+ + +
+ + + + + +
+
+
+ + + +
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml index c038c30..24e95e3 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml @@ -14,4 +14,18 @@ +
+ + + + + +
+ + + + + +
+
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log/dialog_settings.xml index 8b98665..79041ea 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log/dialog_settings.xml @@ -11,7 +11,7 @@
- + diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml index 46efc85..9dcb8dd 100644 --- a/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml +++ b/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml @@ -27,9 +27,9 @@
- + - +
diff --git a/eclipse-workspace/.metadata/.plugins/org.eclipse.xtext.builder/builder.state b/eclipse-workspace/.metadata/.plugins/org.eclipse.xtext.builder/builder.state deleted file mode 100644 index 8e25fe2..0000000 Binary files a/eclipse-workspace/.metadata/.plugins/org.eclipse.xtext.builder/builder.state and /dev/null differ diff --git a/eclipse-workspace/.metadata/version.ini b/eclipse-workspace/.metadata/version.ini index fb31e84..a86133e 100644 --- a/eclipse-workspace/.metadata/version.ini +++ b/eclipse-workspace/.metadata/version.ini @@ -1,3 +1,3 @@ -#Sat Oct 09 18:18:45 CEST 2021 +#Sat Oct 09 21:07:48 CEST 2021 org.eclipse.core.runtime=2 org.eclipse.platform=4.17.0.v20200902-1800 diff --git a/eclipse-workspace/fr.n7.petrinet.exemples/gen/gentilleNetwork.net b/eclipse-workspace/fr.n7.petrinet.exemples/gen/gentilleNetwork.net new file mode 100644 index 0000000..9f4235b --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.exemples/gen/gentilleNetwork.net @@ -0,0 +1,4 @@ +net gentilleNetwork +pl debut (1) +pl fin (0) +tr debut2fin debut*1 -> fin*1 diff --git a/eclipse-workspace/fr.n7.petrinet.exemples/net.xmi b/eclipse-workspace/fr.n7.petrinet.exemples/net.xmi new file mode 100644 index 0000000..3435f09 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.exemples/net.xmi @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.feature/feature.xml b/eclipse-workspace/fr.n7.petrinet.feature/feature.xml index f84faad..e6391b6 100644 --- a/eclipse-workspace/fr.n7.petrinet.feature/feature.xml +++ b/eclipse-workspace/fr.n7.petrinet.feature/feature.xml @@ -44,4 +44,18 @@ version="0.0.0" unpack="false"/> + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.classpath b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.classpath new file mode 100644 index 0000000..64c5e31 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.project b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.project new file mode 100644 index 0000000..123d85f --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.project @@ -0,0 +1,28 @@ + + + fr.n7.petrinet.toTINA.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.settings/org.eclipse.jdt.core.prefs b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d1c0bf9 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..697ac8f --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/META-INF/MANIFEST.MF @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToTINA Module IDE Plug-in +Bundle-SymbolicName: fr.n7.petrinet.toTINA.ui;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.petrinet.toTINA.ui.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + fr.n7.petrinet.toTINA, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.model, + org.eclipse.acceleo.engine +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/build.properties b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/build.properties new file mode 100644 index 0000000..d0a0e71 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + icons/ + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/icons/default.gif b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/icons/default.gif new file mode 100644 index 0000000..6a04c49 Binary files /dev/null and b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/icons/default.gif differ diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/plugin.xml b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/plugin.xml new file mode 100644 index 0000000..9979f98 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/Activator.java b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/Activator.java new file mode 100644 index 0000000..3a27a92 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends AbstractUIPlugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.petrinet.toTINA.ui"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + * @generated + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + * @generated + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/common/GenerateAll.java b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/common/GenerateAll.java new file mode 100644 index 0000000..5c1db85 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/common/GenerateAll.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.ui.common; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.util.URI; + + +/** + * Main entry point of the 'ToTINA' generation module. + */ +public class GenerateAll { + + /** + * The model URI. + */ + private URI modelURI; + + /** + * The output folder. + */ + private IContainer targetFolder; + + /** + * The other arguments. + */ + List arguments; + + /** + * Constructor. + * + * @param modelURI + * is the URI of the model. + * @param targetFolder + * is the output folder + * @param arguments + * are the other arguments + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public GenerateAll(URI modelURI, IContainer targetFolder, List arguments) { + this.modelURI = modelURI; + this.targetFolder = targetFolder; + this.arguments = arguments; + } + + /** + * Launches the generation. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public void doGenerate(IProgressMonitor monitor) throws IOException { + if (!targetFolder.getLocation().toFile().exists()) { + targetFolder.getLocation().toFile().mkdirs(); + } + + monitor.subTask("Loading..."); + fr.n7.petrinet.toTINA.main.ToTINA gen0 = new fr.n7.petrinet.toTINA.main.ToTINA(modelURI, targetFolder.getLocation().toFile(), arguments); + monitor.worked(1); + String generationID = org.eclipse.acceleo.engine.utils.AcceleoLaunchingUtil.computeUIProjectID("fr.n7.petrinet.toTINA", "fr.n7.petrinet.toTINA.main.ToTINA", modelURI.toString(), targetFolder.getFullPath().toString(), new ArrayList()); + gen0.setGenerationID(generationID); + gen0.doGenerate(BasicMonitor.toMonitor(monitor)); + + + } + +} diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/popupMenus/AcceleoGenerateToTINAAction.java b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/popupMenus/AcceleoGenerateToTINAAction.java new file mode 100644 index 0000000..a866ef6 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA.ui/src/fr/n7/petrinet/toTINA/ui/popupMenus/AcceleoGenerateToTINAAction.java @@ -0,0 +1,116 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.ui.popupMenus; + +import java.io.IOException; +import java.lang.reflect.InvocationTargetException; +import java.util.Iterator; +import java.util.List; +import java.util.ArrayList; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.util.URI; +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import fr.n7.petrinet.toTINA.ui.Activator; +import fr.n7.petrinet.toTINA.ui.common.GenerateAll; +import org.eclipse.ui.IActionDelegate; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.actions.ActionDelegate; + +/** + * ToTINA code generation. + */ +public class AcceleoGenerateToTINAAction extends ActionDelegate implements IActionDelegate { + + /** + * Selected model files. + */ + protected List files; + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection) + * @generated + */ + @SuppressWarnings("unchecked") + public void selectionChanged(IAction action, ISelection selection) { + if (selection instanceof IStructuredSelection) { + files = ((IStructuredSelection) selection).toList(); + } + } + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#run(org.eclipse.jface.action.IAction) + * @generated + */ + public void run(IAction action) { + if (files != null) { + IRunnableWithProgress operation = new IRunnableWithProgress() { + public void run(IProgressMonitor monitor) { + try { + Iterator filesIt = files.iterator(); + while (filesIt.hasNext()) { + IFile model = (IFile)filesIt.next(); + URI modelURI = URI.createPlatformResourceURI(model.getFullPath().toString(), true); + IContainer targetFolder = null; + try { + IContainer target = model.getProject().getFolder("src-gen"); + targetFolder = target; + GenerateAll generator = new GenerateAll(modelURI, targetFolder, getArguments()); + generator.doGenerate(monitor); + } catch (IOException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } finally { + if (targetFolder != null) { + targetFolder.getProject().refreshLocal(IResource.DEPTH_INFINITE, monitor); + } + } + } + } catch (CoreException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + }; + try { + PlatformUI.getWorkbench().getProgressService().run(true, true, operation); + } catch (InvocationTargetException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } catch (InterruptedException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + } + + /** + * Computes the arguments of the generator. + * + * @return the arguments + * @generated + */ + protected List getArguments() { + return new ArrayList(); + } + +} \ No newline at end of file diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/.classpath b/eclipse-workspace/fr.n7.petrinet.toTINA/.classpath new file mode 100644 index 0000000..91dbd49 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/.project b/eclipse-workspace/fr.n7.petrinet.toTINA/.project new file mode 100644 index 0000000..828c245 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/.project @@ -0,0 +1,50 @@ + + + fr.n7.petrinet.toTINA + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + compilation.kind + compilation.platform.resource + + + compliance + pragmatic + + + resource.kind + xmi + + + trim-position + false + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.petrinet.toTINA/META-INF/MANIFEST.MF new file mode 100644 index 0000000..43907e0 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToTINA Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.petrinet.toTINA +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.petrinet.toTINA.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.petrinet.toTINA.main +Import-Package: petrinet + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/build.properties b/eclipse-workspace/fr.n7.petrinet.toTINA/build.properties new file mode 100644 index 0000000..3230056 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . +jre.compilation.profile = JavaSE-11 diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/Activator.java b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/Activator.java new file mode 100644 index 0000000..50a5a2e --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends Plugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.petrinet.toTINA"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/ToTINA.java b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/ToTINA.java new file mode 100644 index 0000000..c93cdbb --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/ToTINA.java @@ -0,0 +1,417 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.petrinet.toTINA.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; +import petrinet.PetrinetPackage; + +/** + * Entry point of the 'ToTINA' generation module. + * + * @generated + */ +public class ToTINA extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/petrinet/toTINA/main/toTINA"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "networkToTINA" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToTINA() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToTINA(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToTINA(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToTINA generator = new ToTINA(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(PetrinetPackage.class)) + resourceSet.getPackageRegistry().put( + PetrinetPackage.eNS_URI, PetrinetPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/toTINA.mtl b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/toTINA.mtl new file mode 100644 index 0000000..2dbe4c0 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/src/fr/n7/petrinet/toTINA/main/toTINA.mtl @@ -0,0 +1,44 @@ +[comment encoding = UTF-8 /] +[module toTINA('http://petrinet')] + +[template public networkToTINA(aNetwork : Network)] +[comment @main/] +[file (aNetwork.name + '.net', false, 'UTF-8')] +net [aNetwork.name/] +[let places : OrderedSet(Place) = aNetwork.getPlaces() ] + [if (places->size() > 0)] + [for (place : Place | places)] +pl [place.name/] ([place.tokens/]) + [/for] + [else] + [/if] +[/let] +[let transitions : OrderedSet(Transition) = aNetwork.getTransitions() ] + [if (transitions->size() > 0)] + [for (transition : Transition | transitions)] +[transition.afficher()/] + [/for] + [else] + [/if] +[/let] +[/file] +[/template] + +[query public getPlaces(n: Network) : OrderedSet(Place) = + n.nodes + ->select( e | e.oclIsTypeOf(Place) ) + ->collect( e | e.oclAsType(Place) ) + ->asOrderedSet() +/] + +[query public getTransitions(n: Network) : OrderedSet(Transition) = + n.nodes + ->select( e | e.oclIsTypeOf(Transition) ) + ->collect( e | e.oclAsType(Transition) ) + ->asOrderedSet() +/] + +[template public afficher(t : Transition) post (trim()) ] +[comment][let outgoing = t.getArcs()->select( e | e.isOutgoing() ) /][/comment] +tr [t.name/] [for (a : Arc | t.arcs)][if (not a.outgoing)][a.target.name/]*[a.weight/] [/if][/for]-> [for (a : Arc | t.arcs)][if (a.outgoing)][a.target.name/]*[a.weight/][/if][/for] +[/template] \ No newline at end of file diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINA.xml b/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINA.xml new file mode 100644 index 0000000..d09b5af --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINA.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINATarget.xml b/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINATarget.xml new file mode 100644 index 0000000..4ddac80 --- /dev/null +++ b/eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINATarget.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.exemples/developpement.xmi b/eclipse-workspace/fr.n7.simplepdl.exemples/developpement.xmi new file mode 100644 index 0000000..a51fd4b --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.exemples/developpement.xmi @@ -0,0 +1,49 @@ + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.dot b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.dot new file mode 100644 index 0000000..860a35f --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.dot @@ -0,0 +1,7 @@ +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] +} diff --git a/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.html b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.html new file mode 100644 index 0000000..d7fdb7b --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.html @@ -0,0 +1,11 @@ +developpement + +

Process "developpement"

+

Work definitions

+
    +
  • Conception
  • +
  • RedactionDoc requires Conception to be finished, Conception to be started.
  • +
  • Programmation requires Conception to be finished.
  • +
  • RedactionTests requires Conception to be started, Programmation to be finished.
  • +
+ diff --git a/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.pdf b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.pdf new file mode 100644 index 0000000..3b4e490 Binary files /dev/null and b/eclipse-workspace/fr.n7.simplepdl.exemples/gen/developpement.pdf differ diff --git a/eclipse-workspace/fr.n7.simplepdl.feature/feature.xml b/eclipse-workspace/fr.n7.simplepdl.feature/feature.xml index 3f15aeb..3662441 100644 --- a/eclipse-workspace/fr.n7.simplepdl.feature/feature.xml +++ b/eclipse-workspace/fr.n7.simplepdl.feature/feature.xml @@ -44,4 +44,32 @@ version="0.0.0" unpack="false"/> + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.classpath b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.classpath new file mode 100644 index 0000000..64c5e31 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.project b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.project new file mode 100644 index 0000000..4775855 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.project @@ -0,0 +1,28 @@ + + + fr.n7.simplepdl.toDOT.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.settings/org.eclipse.jdt.core.prefs b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d1c0bf9 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..cc15e6d --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/META-INF/MANIFEST.MF @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToDOT Module IDE Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toDOT.ui;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toDOT.ui.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + fr.n7.simplepdl.toDOT, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.model, + org.eclipse.acceleo.engine +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/build.properties b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/build.properties new file mode 100644 index 0000000..d0a0e71 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + icons/ + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/icons/default.gif b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/icons/default.gif new file mode 100644 index 0000000..6a04c49 Binary files /dev/null and b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/icons/default.gif differ diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/plugin.xml b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/plugin.xml new file mode 100644 index 0000000..0c873da --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/Activator.java b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/Activator.java new file mode 100644 index 0000000..fd7d69d --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends AbstractUIPlugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.simplepdl.toDOT.ui"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + * @generated + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + * @generated + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/common/GenerateAll.java b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/common/GenerateAll.java new file mode 100644 index 0000000..4e2f6b2 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/common/GenerateAll.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT.ui.common; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.util.URI; + + +/** + * Main entry point of the 'ToDOT' generation module. + */ +public class GenerateAll { + + /** + * The model URI. + */ + private URI modelURI; + + /** + * The output folder. + */ + private IContainer targetFolder; + + /** + * The other arguments. + */ + List arguments; + + /** + * Constructor. + * + * @param modelURI + * is the URI of the model. + * @param targetFolder + * is the output folder + * @param arguments + * are the other arguments + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public GenerateAll(URI modelURI, IContainer targetFolder, List arguments) { + this.modelURI = modelURI; + this.targetFolder = targetFolder; + this.arguments = arguments; + } + + /** + * Launches the generation. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public void doGenerate(IProgressMonitor monitor) throws IOException { + if (!targetFolder.getLocation().toFile().exists()) { + targetFolder.getLocation().toFile().mkdirs(); + } + + monitor.subTask("Loading..."); + fr.n7.simplepdl.toDOT.main.ToDOT gen0 = new fr.n7.simplepdl.toDOT.main.ToDOT(modelURI, targetFolder.getLocation().toFile(), arguments); + monitor.worked(1); + String generationID = org.eclipse.acceleo.engine.utils.AcceleoLaunchingUtil.computeUIProjectID("fr.n7.simplepdl.toDOT", "fr.n7.simplepdl.toDOT.main.ToDOT", modelURI.toString(), targetFolder.getFullPath().toString(), new ArrayList()); + gen0.setGenerationID(generationID); + gen0.doGenerate(BasicMonitor.toMonitor(monitor)); + + + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/popupMenus/AcceleoGenerateToDOTAction.java b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/popupMenus/AcceleoGenerateToDOTAction.java new file mode 100644 index 0000000..333d72d --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT.ui/src/fr/n7/simplepdl/toDOT/ui/popupMenus/AcceleoGenerateToDOTAction.java @@ -0,0 +1,116 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT.ui.popupMenus; + +import java.io.IOException; +import java.lang.reflect.InvocationTargetException; +import java.util.Iterator; +import java.util.List; +import java.util.ArrayList; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.util.URI; +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import fr.n7.simplepdl.toDOT.ui.Activator; +import fr.n7.simplepdl.toDOT.ui.common.GenerateAll; +import org.eclipse.ui.IActionDelegate; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.actions.ActionDelegate; + +/** + * ToDOT code generation. + */ +public class AcceleoGenerateToDOTAction extends ActionDelegate implements IActionDelegate { + + /** + * Selected model files. + */ + protected List files; + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection) + * @generated + */ + @SuppressWarnings("unchecked") + public void selectionChanged(IAction action, ISelection selection) { + if (selection instanceof IStructuredSelection) { + files = ((IStructuredSelection) selection).toList(); + } + } + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#run(org.eclipse.jface.action.IAction) + * @generated + */ + public void run(IAction action) { + if (files != null) { + IRunnableWithProgress operation = new IRunnableWithProgress() { + public void run(IProgressMonitor monitor) { + try { + Iterator filesIt = files.iterator(); + while (filesIt.hasNext()) { + IFile model = (IFile)filesIt.next(); + URI modelURI = URI.createPlatformResourceURI(model.getFullPath().toString(), true); + IContainer targetFolder = null; + try { + IContainer target = model.getProject().getFolder("src-gen"); + targetFolder = target; + GenerateAll generator = new GenerateAll(modelURI, targetFolder, getArguments()); + generator.doGenerate(monitor); + } catch (IOException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } finally { + if (targetFolder != null) { + targetFolder.getProject().refreshLocal(IResource.DEPTH_INFINITE, monitor); + } + } + } + } catch (CoreException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + }; + try { + PlatformUI.getWorkbench().getProgressService().run(true, true, operation); + } catch (InvocationTargetException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } catch (InterruptedException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + } + + /** + * Computes the arguments of the generator. + * + * @return the arguments + * @generated + */ + protected List getArguments() { + return new ArrayList(); + } + +} \ No newline at end of file diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/.classpath b/eclipse-workspace/fr.n7.simplepdl.toDOT/.classpath new file mode 100644 index 0000000..91dbd49 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/.project b/eclipse-workspace/fr.n7.simplepdl.toDOT/.project new file mode 100644 index 0000000..22a2692 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/.project @@ -0,0 +1,50 @@ + + + fr.n7.simplepdl.toDOT + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + compilation.kind + compilation.platform.resource + + + compliance + pragmatic + + + resource.kind + xmi + + + trim-position + false + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.simplepdl.toDOT/META-INF/MANIFEST.MF new file mode 100644 index 0000000..14a9da2 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToDOT Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toDOT +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toDOT.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.simplepdl.toDOT.main +Import-Package: simplepdl + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/build.properties b/eclipse-workspace/fr.n7.simplepdl.toDOT/build.properties new file mode 100644 index 0000000..3230056 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . +jre.compilation.profile = JavaSE-11 diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/Activator.java b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/Activator.java new file mode 100644 index 0000000..833decc --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends Plugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.simplepdl.toDOT"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/ToDOT.java b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/ToDOT.java new file mode 100644 index 0000000..8c4bd82 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/ToDOT.java @@ -0,0 +1,417 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toDOT.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; +import simplepdl.SimplepdlPackage; + +/** + * Entry point of the 'ToDOT' generation module. + * + * @generated + */ +public class ToDOT extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/simplepdl/toDOT/main/toDOT"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "processToDot" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToDOT() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToDOT(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToDOT(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToDOT generator = new ToDOT(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(SimplepdlPackage.class)) + resourceSet.getPackageRegistry().put( + SimplepdlPackage.eNS_URI, SimplepdlPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/toDOT.mtl b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/toDOT.mtl new file mode 100644 index 0000000..9dcf909 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/src/fr/n7/simplepdl/toDOT/main/toDOT.mtl @@ -0,0 +1,29 @@ +[comment encoding = UTF-8 /] +[module toDOT('http://simplepdl')] + +[template public processToDot(aProcess : Process)] +[comment @main/] +[file (aProcess.name + '.dot', false, 'UTF-8')] +digraph "[aProcess.name/]" { +[let wss : OrderedSet(WorkSequence) = aProcess.getWSs() ] + [if (wss->size() > 0)] + [for (ws : WorkSequence | wss)] + [ws.afficher()/] + [/for] + [else] + [/if] +[/let] +} +[/file] +[/template] + +[query public getWSs(p: Process) : OrderedSet(WorkSequence) = + p.processElements + ->select( e | e.oclIsTypeOf(WorkSequence) ) + ->collect( e | e.oclAsType(WorkSequence) ) + ->asOrderedSet() +/] + +[template public afficher(ws : WorkSequence) post (trim()) ] +"[ws.predecessor.name/]" -> "[ws.successor.name/]" ['['/]arrowhead=vee label=[ws.linkType/][']'/] +[/template] diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOT.xml b/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOT.xml new file mode 100644 index 0000000..2c6e6ba --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOT.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOTTarget.xml b/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOTTarget.xml new file mode 100644 index 0000000..196848f --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toDOT/tasks/toDOTTarget.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.classpath b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.classpath new file mode 100644 index 0000000..64c5e31 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.project b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.project new file mode 100644 index 0000000..4214666 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.project @@ -0,0 +1,28 @@ + + + fr.n7.simplepdl.toHTML.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.settings/org.eclipse.jdt.core.prefs b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d1c0bf9 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..fdd5555 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/META-INF/MANIFEST.MF @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToHTML Module IDE Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toHTML.ui;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toHTML.ui.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + fr.n7.simplepdl.toHTML, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.model, + org.eclipse.acceleo.engine +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/build.properties b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/build.properties new file mode 100644 index 0000000..d0a0e71 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + icons/ + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/icons/default.gif b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/icons/default.gif new file mode 100644 index 0000000..6a04c49 Binary files /dev/null and b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/icons/default.gif differ diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/plugin.xml b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/plugin.xml new file mode 100644 index 0000000..8a154cc --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/Activator.java b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/Activator.java new file mode 100644 index 0000000..7e5d3d4 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends AbstractUIPlugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.simplepdl.toHTML.ui"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + * @generated + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /**{@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + * @generated + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/common/GenerateAll.java b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/common/GenerateAll.java new file mode 100644 index 0000000..cea895d --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/common/GenerateAll.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.ui.common; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.util.URI; + + +/** + * Main entry point of the 'ToHTML' generation module. + */ +public class GenerateAll { + + /** + * The model URI. + */ + private URI modelURI; + + /** + * The output folder. + */ + private IContainer targetFolder; + + /** + * The other arguments. + */ + List arguments; + + /** + * Constructor. + * + * @param modelURI + * is the URI of the model. + * @param targetFolder + * is the output folder + * @param arguments + * are the other arguments + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public GenerateAll(URI modelURI, IContainer targetFolder, List arguments) { + this.modelURI = modelURI; + this.targetFolder = targetFolder; + this.arguments = arguments; + } + + /** + * Launches the generation. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * Thrown when the output cannot be saved. + * @generated + */ + public void doGenerate(IProgressMonitor monitor) throws IOException { + if (!targetFolder.getLocation().toFile().exists()) { + targetFolder.getLocation().toFile().mkdirs(); + } + + monitor.subTask("Loading..."); + fr.n7.simplepdl.toHTML.main.ToHTML gen0 = new fr.n7.simplepdl.toHTML.main.ToHTML(modelURI, targetFolder.getLocation().toFile(), arguments); + monitor.worked(1); + String generationID = org.eclipse.acceleo.engine.utils.AcceleoLaunchingUtil.computeUIProjectID("fr.n7.simplepdl.toHTML", "fr.n7.simplepdl.toHTML.main.ToHTML", modelURI.toString(), targetFolder.getFullPath().toString(), new ArrayList()); + gen0.setGenerationID(generationID); + gen0.doGenerate(BasicMonitor.toMonitor(monitor)); + + + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/popupMenus/AcceleoGenerateToHTMLAction.java b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/popupMenus/AcceleoGenerateToHTMLAction.java new file mode 100644 index 0000000..c4bf465 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML.ui/src/fr/n7/simplepdl/toHTML/ui/popupMenus/AcceleoGenerateToHTMLAction.java @@ -0,0 +1,116 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.ui.popupMenus; + +import java.io.IOException; +import java.lang.reflect.InvocationTargetException; +import java.util.Iterator; +import java.util.List; +import java.util.ArrayList; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.util.URI; +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import fr.n7.simplepdl.toHTML.ui.Activator; +import fr.n7.simplepdl.toHTML.ui.common.GenerateAll; +import org.eclipse.ui.IActionDelegate; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.actions.ActionDelegate; + +/** + * ToHTML code generation. + */ +public class AcceleoGenerateToHTMLAction extends ActionDelegate implements IActionDelegate { + + /** + * Selected model files. + */ + protected List files; + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection) + * @generated + */ + @SuppressWarnings("unchecked") + public void selectionChanged(IAction action, ISelection selection) { + if (selection instanceof IStructuredSelection) { + files = ((IStructuredSelection) selection).toList(); + } + } + + /**{@inheritDoc} + * + * @see org.eclipse.ui.actions.ActionDelegate#run(org.eclipse.jface.action.IAction) + * @generated + */ + public void run(IAction action) { + if (files != null) { + IRunnableWithProgress operation = new IRunnableWithProgress() { + public void run(IProgressMonitor monitor) { + try { + Iterator filesIt = files.iterator(); + while (filesIt.hasNext()) { + IFile model = (IFile)filesIt.next(); + URI modelURI = URI.createPlatformResourceURI(model.getFullPath().toString(), true); + IContainer targetFolder = null; + try { + IContainer target = model.getProject().getFolder("src-gen"); + targetFolder = target; + GenerateAll generator = new GenerateAll(modelURI, targetFolder, getArguments()); + generator.doGenerate(monitor); + } catch (IOException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } finally { + if (targetFolder != null) { + targetFolder.getProject().refreshLocal(IResource.DEPTH_INFINITE, monitor); + } + } + } + } catch (CoreException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + }; + try { + PlatformUI.getWorkbench().getProgressService().run(true, true, operation); + } catch (InvocationTargetException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } catch (InterruptedException e) { + IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e); + Activator.getDefault().getLog().log(status); + } + } + } + + /** + * Computes the arguments of the generator. + * + * @return the arguments + * @generated + */ + protected List getArguments() { + return new ArrayList(); + } + +} \ No newline at end of file diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/.classpath b/eclipse-workspace/fr.n7.simplepdl.toHTML/.classpath new file mode 100644 index 0000000..91dbd49 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/.project b/eclipse-workspace/fr.n7.simplepdl.toHTML/.project new file mode 100644 index 0000000..b2adf12 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/.project @@ -0,0 +1,50 @@ + + + fr.n7.simplepdl.toHTML + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + compilation.kind + compilation.platform.resource + + + compliance + pragmatic + + + resource.kind + xmi + + + trim-position + false + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/META-INF/MANIFEST.MF b/eclipse-workspace/fr.n7.simplepdl.toHTML/META-INF/MANIFEST.MF new file mode 100644 index 0000000..519ff73 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Acceleo ToHTML Module Runtime Plug-in +Bundle-SymbolicName: fr.n7.simplepdl.toHTML +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: fr.n7.simplepdl.toHTML.Activator +Bundle-Vendor: Eclipse Modeling Project +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi, + org.eclipse.ocl, + org.eclipse.ocl.ecore, + org.eclipse.acceleo.common;bundle-version="3.3.0", + org.eclipse.acceleo.model;bundle-version="3.3.0", + org.eclipse.acceleo.profiler;bundle-version="3.3.0", + org.eclipse.acceleo.engine;bundle-version="3.3.0", + com.google.guava +Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Export-Package: fr.n7.simplepdl.toHTML.main +Import-Package: simplepdl + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/build.properties b/eclipse-workspace/fr.n7.simplepdl.toHTML/build.properties new file mode 100644 index 0000000..3230056 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . +jre.compilation.profile = JavaSE-11 diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/Activator.java b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/Activator.java new file mode 100644 index 0000000..157570c --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/Activator.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends Plugin { + + /** + * The plug-in ID. + */ + public static final String PLUGIN_ID = "fr.n7.simplepdl.toHTML"; + + /** + * The shared instance. + */ + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/ToHTML.java b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/ToHTML.java new file mode 100644 index 0000000..e7143ea --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/ToHTML.java @@ -0,0 +1,417 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.n7.simplepdl.toHTML.main; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.acceleo.engine.event.IAcceleoTextGenerationListener; +import org.eclipse.acceleo.engine.generation.strategy.IAcceleoGenerationStrategy; +import org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator; +import org.eclipse.emf.common.util.BasicMonitor; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.ResourceSet; +import simplepdl.SimplepdlPackage; + +/** + * Entry point of the 'ToHTML' generation module. + * + * @generated + */ +public class ToHTML extends AbstractAcceleoGenerator { + /** + * The name of the module. + * + * @generated + */ + public static final String MODULE_FILE_NAME = "/fr/n7/simplepdl/toHTML/main/toHTML"; + + /** + * The name of the templates that are to be generated. + * + * @generated + */ + public static final String[] TEMPLATE_NAMES = { "processToHTML" }; + + /** + * The list of properties files from the launch parameters (Launch configuration). + * + * @generated + */ + private List propertiesFiles = new ArrayList(); + + /** + * Allows the public constructor to be used. Note that a generator created + * this way cannot be used to launch generations before one of + * {@link #initialize(EObject, File, List)} or + * {@link #initialize(URI, File, List)} is called. + *

+ * The main reason for this constructor is to allow clients of this + * generation to call it from another Java file, as it allows for the + * retrieval of {@link #getProperties()} and + * {@link #getGenerationListeners()}. + *

+ * + * @generated + */ + public ToHTML() { + // Empty implementation + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param modelURI + * URI where the model on which this generator will be used is located. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or + * the model cannot be loaded. + * @generated + */ + public ToHTML(URI modelURI, File targetFolder, + List arguments) throws IOException { + initialize(modelURI, targetFolder, arguments); + } + + /** + * This allows clients to instantiates a generator with all required information. + * + * @param model + * We'll iterate over the content of this element to find Objects matching the first parameter + * of the template we need to call. + * @param targetFolder + * This will be used as the output folder for this generation : it will be the base path + * against which all file block URLs will be resolved. + * @param arguments + * If the template which will be called requires more than one argument taken from the model, + * pass them here. + * @throws IOException + * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded. + * @generated + */ + public ToHTML(EObject model, File targetFolder, + List arguments) throws IOException { + initialize(model, targetFolder, arguments); + } + + /** + * This can be used to launch the generation from a standalone application. + * + * @param args + * Arguments of the generation. + * @generated + */ + public static void main(String[] args) { + try { + if (args.length < 2) { + System.out.println("Arguments not valid : {model, folder}."); + } else { + URI modelURI = URI.createFileURI(args[0]); + File folder = new File(args[1]); + + List arguments = new ArrayList(); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * Add in this list all the arguments used by the starting point of the generation + * If your main template is called on an element of your model and a String, you can + * add in "arguments" this "String" attribute. + */ + + ToHTML generator = new ToHTML(modelURI, folder, arguments); + + /* + * Add the properties from the launch arguments. + * If you want to programmatically add new properties, add them in "propertiesFiles" + * You can add the absolute path of a properties files, or even a project relative path. + * If you want to add another "protocol" for your properties files, please override + * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader. + * The behavior of the properties loader service is explained in the Acceleo documentation + * (Help -> Help Contents). + */ + + for (int i = 2; i < args.length; i++) { + generator.addPropertiesFile(args[i]); + } + + generator.doGenerate(new BasicMonitor()); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Launches the generation described by this instance. + * + * @param monitor + * This will be used to display progress information to the user. + * @throws IOException + * This will be thrown if any of the output files cannot be saved to disk. + * @generated + */ + @Override + public void doGenerate(Monitor monitor) throws IOException { + /* + * TODO if you wish to change the generation as a whole, override this. The default behavior should + * be sufficient in most cases. If you want to change the content of this method, do NOT forget to + * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag, + * any compilation of the Acceleo module with the main template that has caused the creation of this + * class will revert your modifications. If you encounter a problem with an unresolved proxy during the + * generation, you can remove the comments in the following instructions to check for problems. Please + * note that those instructions may have a significant impact on the performances. + */ + + //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model); + + /* + * If you want to check for potential errors in your models before the launch of the generation, you + * use the code below. + */ + + //if (model != null && model.eResource() != null) { + // List errors = model.eResource().getErrors(); + // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) { + // System.err.println(diagnostic.toString()); + // } + //} + + super.doGenerate(monitor); + } + + /** + * If this generator needs to listen to text generation events, listeners can be returned from here. + * + * @return List of listeners that are to be notified when text is generated through this launch. + * @generated + */ + @Override + public List getGenerationListeners() { + List listeners = super.getGenerationListeners(); + /* + * TODO if you need to listen to generation event, add listeners to the list here. If you want to change + * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method + * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template + * that has caused the creation of this class will revert your modifications. + */ + return listeners; + } + + /** + * If you need to change the way files are generated, this is your entry point. + *

+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates + * files on the fly. If you only need to preview the results, return a new + * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of + * the running Eclipse and can be used standalone. + *

+ *

+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna + * override files that are under clear case or any other VCS that could forbid the overriding), then + * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. + * Note, however, that this cannot be used standalone. + *

+ *

+ * All three of these default strategies support merging through JMerge. + *

+ * + * @return The generation strategy that is to be used for generations launched through this launcher. + * @generated + */ + @Override + public IAcceleoGenerationStrategy getGenerationStrategy() { + return super.getGenerationStrategy(); + } + + /** + * This will be called in order to find and load the module that will be launched through this launcher. + * We expect this name not to contain file extension, and the module to be located beside the launcher. + * + * @return The name of the module that is to be launched. + * @generated + */ + @Override + public String getModuleName() { + return MODULE_FILE_NAME; + } + + /** + * If the module(s) called by this launcher require properties files, return their qualified path from + * here.Take note that the first added properties files will take precedence over subsequent ones if they + * contain conflicting keys. + * + * @return The list of properties file we need to add to the generation context. + * @see java.util.ResourceBundle#getBundle(String) + * @generated + */ + @Override + public List getProperties() { + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO if your generation module requires access to properties files, add their qualified path to the list here. + * + * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse + * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties + * files to the "propertiesFiles" list: + * + * final String prefix = "platform:/plugin/"; + * final String pluginName = "org.eclipse.acceleo.module.sample"; + * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; + * final String fileName = "default.properties"; + * propertiesFiles.add(prefix + pluginName + packagePath + fileName); + * + * With this mechanism, you can load properties files from your plugin or from another plugin. + * + * You may want to load properties files from the file system, for that you need to add the absolute path of the file: + * + * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); + * + * If you want to let your users add properties files located in the same folder as the model: + * + * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { + * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); + * } + * + * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). + */ + return propertiesFiles; + } + + /** + * Adds a properties file in the list of properties files. + * + * @param propertiesFile + * The properties file to add. + * @generated + * @since 3.1 + */ + @Override + public void addPropertiesFile(String propertiesFile) { + this.propertiesFiles.add(propertiesFile); + } + + /** + * This will be used to get the list of templates that are to be launched by this launcher. + * + * @return The list of templates to call on the module {@link #getModuleName()}. + * @generated + */ + @Override + public String[] getTemplateNames() { + return TEMPLATE_NAMES; + } + + /** + * This can be used to update the resource set's package registry with all needed EPackages. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated NOOT + */ + @Override + public void registerPackages(ResourceSet resourceSet) { + super.registerPackages(resourceSet); + + if (!isInWorkspace(SimplepdlPackage.class)) + resourceSet.getPackageRegistry().put( + SimplepdlPackage.eNS_URI, SimplepdlPackage.eINSTANCE); + + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * If you need additional package registrations, you can register them here. The following line + * (in comment) is an example of the package registration for UML. + * + * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to + * register is in the workspace. + * + * To register a package properly, please follow the following conventions: + * + * If the package is located in another plug-in, already installed in Eclipse. The following content should + * have been generated at the beginning of this method. Do not register the package using this mechanism if + * the metamodel is located in the workspace. + * + * if (!isInWorkspace(UMLPackage.class)) { + * // The normal package registration if your metamodel is in a plugin. + * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); + * } + * + * If the package is located in another project in your workspace, the plugin containing the package has not + * been register by EMF and Acceleo should register it automatically. If you want to use the generator in + * stand alone, the regular registration (seen a couple lines before) is needed. + * + * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents). + */ + } + + /** + * This can be used to update the resource set's resource factory registry with all needed factories. + * + * @param resourceSet + * The resource set which registry has to be updated. + * @generated + */ + @Override + public void registerResourceFactories(ResourceSet resourceSet) { + super.registerResourceFactories(resourceSet); + /* + * If you want to change the content of this method, do NOT forget to change the "@generated" + * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation + * of the Acceleo module with the main template that has caused the creation of this class will + * revert your modifications. + */ + + /* + * TODO If you need additional resource factories registrations, you can register them here. the following line + * (in comment) is an example of the resource factory registration. + * + * If you want to use the generator in stand alone, the resource factory registration will be required. + * + * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). + */ + + // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE); + + /* + * Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator + * targetting UML models in standalone, you NEED to use the following: + */ + // UMLResourcesUtil.init(resourceSet) + } + +} diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/toHTML.mtl b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/toHTML.mtl new file mode 100644 index 0000000..c46ac50 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/src/fr/n7/simplepdl/toHTML/main/toHTML.mtl @@ -0,0 +1,45 @@ +[comment encoding = UTF-8 /] +[module toHTML('http://simplepdl')] + +[template public processToHTML(aProcess : Process)] +[comment @main/] +[file (aProcess.name + '.html', false, 'UTF-8')] +[aProcess.name/] + +

Process "[aProcess.name/]"

+

Work definitions

+[let wds : OrderedSet(WorkDefinition) = aProcess.getWDs() ] + [if (wds->size() > 0)] +
    + [for (wd : WorkDefinition | wds)] +
  • [wd.toHTML()/]
  • + [/for] +
+ [else] + None. + [/if] +[/let] + +[/file] +[/template] + +[query public getWDs(p: Process) : OrderedSet(WorkDefinition) = + p.processElements->select( e | e.oclIsTypeOf(WorkDefinition) ) + ->collect( e | e.oclAsType(WorkDefinition) ) + ->asOrderedSet() +/] + +[query public toState(link: WorkSequenceType) : String = + if link = WorkSequenceType::startToStart or link = WorkSequenceType::startToFinish then + 'started' + else + 'finished' + endif +/] + +[template public toHTML(wd : WorkDefinition) post (trim()) ] +[wd.name /] [for (ws: WorkSequence | wd.linksToPredecessors) + before (' requires ') separator (', ') after('.') +][ws.predecessor.name /] to be [ws.linkType.toState() +/][/for] +[/template] diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTML.xml b/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTML.xml new file mode 100644 index 0000000..cb35d1f --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTML.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTMLTarget.xml b/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTMLTarget.xml new file mode 100644 index 0000000..dff3cc8 --- /dev/null +++ b/eclipse-workspace/fr.n7.simplepdl.toHTML/tasks/toHTMLTarget.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/runtime-New_configuration/.metadata/.lock b/runtime-New_configuration/.metadata/.lock new file mode 100644 index 0000000..e69de29 diff --git a/runtime-New_configuration/.metadata/.log b/runtime-New_configuration/.metadata/.log new file mode 100644 index 0000000..60b825f --- /dev/null +++ b/runtime-New_configuration/.metadata/.log @@ -0,0 +1,48 @@ +!SESSION 2021-10-09 20:59:51.941 ----------------------------------------------- +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.platform.ide +Command-line arguments: -product org.eclipse.platform.ide -data /home/lfainsin/miniproj_idm/eclipse-workspace/../runtime-New_configuration -dev file:/home/lfainsin/miniproj_idm/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/test_eclipse/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog + +!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-09 21:00:29.958 +!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) + +!ENTRY org.eclipse.core.jobs 4 2 2021-10-09 21:00:30.292 +!MESSAGE An internal error occurred during: "Update Job". +!STACK 0 +java.lang.NullPointerException + at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.lambda$0(AutomaticUpdateScheduler.java:66) + at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:185) + at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version new file mode 100644 index 0000000..25cb955 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index new file mode 100644 index 0000000..ed9b514 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version new file mode 100644 index 0000000..6b2aaa7 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree new file mode 100644 index 0000000..8a1fc9e Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources new file mode 100644 index 0000000..54c04c1 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..dffc6b5 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +version=1 diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000..76f6883 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,9 @@ +content_assist_proposals_background=242,241,240 +content_assist_proposals_foreground=76,76,76 +eclipse.preferences.version=1 +org.eclipse.jdt.internal.ui.navigator.layout=2 +org.eclipse.jdt.internal.ui.navigator.librariesnode=true +org.eclipse.jdt.ui.formatterprofiles.version=20 +spelling_locale_initialized=true +useAnnotationsPrefPage=true +useQuickDiffPrefPage=true diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs new file mode 100644 index 0000000..3c18c3f --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs @@ -0,0 +1,5 @@ +TASKS_FILTERS_MIGRATE=true +eclipse.preferences.version=1 +platformState=1633805993042 +quickStart=false +tipsAndTricks=true diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.navigator.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.navigator.prefs new file mode 100644 index 0000000..67b9c46 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.navigator.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.jdt.java.ui.filters.HidePackageDeclaration\:org.eclipse.jdt.java.ui.filters.HideOutputFolder\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.jdt.java.ui.filters.HideEmptyInnerPackages\:org.eclipse.sirius.ui.commonFilter.representation.description\:org.eclipse.jdt.java.ui.filters.HideInnerClassFiles\:org.eclipse.ui.navigator.resources.filters.startsWithDot\:org.eclipse.jdt.java.ui.filters.HideEmptyLibraryContainers\:org.eclipse.jdt.java.ui.filters.HideImportDeclaration\:org.eclipse.jdt.java.ui.filters.HideSyntheticMembers\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\: diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs new file mode 100644 index 0000000..08076f2 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +showIntro=false diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs new file mode 100644 index 0000000..5fb356c --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs @@ -0,0 +1,9 @@ +//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false +eclipse.preferences.version=1 +org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255 +org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255 +org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16 +org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255 +org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255 +org.eclipse.ui.workbench.INACTIVE_TAB_BG_END=246,245,244 +org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=246,245,244 diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.urischeme.prefs b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.urischeme.prefs new file mode 100644 index 0000000..f7e90ef --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.urischeme.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +processedSchemes=,eclipse+command diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/runtime-New_configuration/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi new file mode 100644 index 0000000..37dbed0 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -0,0 +1,2285 @@ + + + + activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration + + + + + + + + topLevel + shellMaximized + + + + + persp.actionSet:org.eclipse.acceleo.ide.ui.editors.template.actionSet + persp.actionSet:org.eclipse.ui.cheatsheets.actionSet + persp.actionSet:org.eclipse.search.searchActionSet + persp.actionSet:org.eclipse.text.quicksearch.actionSet + persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo + persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet + persp.actionSet:org.eclipse.ui.actionSet.keyBindings + persp.actionSet:org.eclipse.ui.actionSet.openFiles + persp.newWizSC:org.eclipse.ui.wizards.new.folder + persp.newWizSC:org.eclipse.ui.wizards.new.file + persp.viewSC:org.eclipse.ui.navigator.ProjectExplorer + persp.viewSC:org.eclipse.ui.views.BookmarkView + persp.viewSC:org.eclipse.ui.views.ContentOutline + persp.viewSC:org.eclipse.ui.views.PropertySheet + persp.viewSC:org.eclipse.ui.views.ProblemView + persp.viewSC:org.eclipse.ui.views.ProgressView + persp.viewSC:org.eclipse.ui.views.TaskList + persp.actionSet:org.eclipse.ui.NavigateActionSet + persp.viewSC:org.eclipse.pde.runtime.LogView + persp.newWizSC:org.eclipse.ui.editors.wizards.UntitledTextFileWizard + persp.showIn:org.eclipse.ui.navigator.ProjectExplorer + persp.perspSC:org.eclipse.team.ui.TeamSynchronizingPerspective + persp.showIn:org.eclipse.team.ui.GenericHistoryView + persp.perspSC:org.eclipse.emf.cdo.explorer.ui.CDOExplorerPerspective + persp.viewSC:org.eclipse.emf.cdo.explorer.ui.CDORepositoriesView + persp.perspSC:org.eclipse.jdt.ui.JavaPerspective + persp.perspSC:org.eclipse.jdt.ui.JavaBrowsingPerspective + persp.viewSC:org.eclipse.ant.ui.views.AntView + + + + org.eclipse.e4.primaryNavigationStack + active + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + + org.eclipse.e4.secondaryNavigationStack + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:CDO + + + View + categoryTag:Ant + + + + + + + + View + categoryTag:General + + + + + + org.eclipse.e4.secondaryDataStack + + View + categoryTag:General + + + View + categoryTag:General + + + + + + + + + View + categoryTag:Help + + + View + categoryTag:General + + + View + categoryTag:Help + + + + + + + View + categoryTag:Help + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:Help + + + + org.eclipse.e4.primaryDataStack + EditorStack + + + + + + + View + categoryTag:General + active + activeOnClose + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:CDO + + + + + View + categoryTag:General + + + + + View + categoryTag:Ant + + + + toolbarSeparator + + + + Draggable + + + + toolbarSeparator + + + + Draggable + + + toolbarSeparator + + + + Draggable + + + Draggable + + + toolbarSeparator + + + + Draggable + + + + toolbarSeparator + + + + toolbarSeparator + + + + Draggable + + + stretch + SHOW_RESTORE_MENU + + + Draggable + HIDEABLE + SHOW_RESTORE_MENU + + + + + stretch + + + Draggable + + + Draggable + + + + + TrimStack + Draggable + + + + + + + + + + + + + + + + + + platform:gtk + + + + + + platform:gtk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + platform:gtk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + locale:fr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + platform:gtk + + + platform:gtk + + + platform:gtk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Editor + removeOnHide + + + + + View + categoryTag:Acceleo Model to Text + + + + + View + categoryTag:Acceleo Model to Text + + + + + View + categoryTag:Acceleo Model to Text + + + + + View + categoryTag:Ant + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Debug + + + + + View + categoryTag:CDO + + + + + View + categoryTag:CDO + + + + + View + categoryTag:CDO + + + + + View + categoryTag:CDO + + + + + View + categoryTag:CDO + + + + + View + categoryTag:CDO + + + + + View + categoryTag:EMF Compare + + + + + View + categoryTag:Ecore Tools + + + + + View + categoryTag:Ecore Tools + + + + + View + categoryTag:General + + + + + View + categoryTag:Help + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java Browsing + + + + + View + categoryTag:Java Browsing + + + + + View + categoryTag:Java Browsing + + + + + View + categoryTag:Java Browsing + + + + + View + categoryTag:Java + + + + + View + categoryTag:General + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:ATL Profiler + + + + + View + categoryTag:ATL Profiler + + + + + View + categoryTag:Debug + + + + + View + categoryTag:Net4j + + + + + View + categoryTag:Net4j + + + + + View + categoryTag:Net4j Debug + + + + + View + categoryTag:Net4j Debug + + + + + View + categoryTag:OCL + + + + + View + categoryTag:Oomph + + + + + View + categoryTag:API Tools + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:Plug-in Development + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:Sirius Profiler + + + + + View + categoryTag:Sirius + + + + + View + categoryTag:Team + + + + + View + categoryTag:Team + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:Help + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:General + + + + + View + categoryTag:Xtend + + + + + View + categoryTag:Xtext + + + + + View + categoryTag:Xtext + + + + glue + move_after:PerspectiveSpacer + SHOW_RESTORE_MENU + + + move_after:Spacer Glue + HIDEABLE + SHOW_RESTORE_MENU + + + glue + move_after:SearchField + SHOW_RESTORE_MENU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache new file mode 100644 index 0000000..593f470 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache new file mode 100644 index 0000000..593f470 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache new file mode 100644 index 0000000..593f470 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat new file mode 100644 index 0000000..2ff63f2 Binary files /dev/null and b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat differ diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml new file mode 100644 index 0000000..a4ee3cb --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml new file mode 100644 index 0000000..9e390f5 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup b/runtime-New_configuration/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup new file mode 100644 index 0000000..1f73e14 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup @@ -0,0 +1,6 @@ + + diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml new file mode 100644 index 0000000..5b583c4 --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml @@ -0,0 +1,5 @@ + +
+
+
+
diff --git a/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml new file mode 100644 index 0000000..1895fab --- /dev/null +++ b/runtime-New_configuration/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/runtime-New_configuration/.metadata/version.ini b/runtime-New_configuration/.metadata/version.ini new file mode 100644 index 0000000..0289b67 --- /dev/null +++ b/runtime-New_configuration/.metadata/version.ini @@ -0,0 +1,3 @@ +#Sat Oct 09 20:59:55 CEST 2021 +org.eclipse.core.runtime=2 +org.eclipse.platform=4.17.0.v20200902-1800 diff --git a/update-site-gls/artifacts.jar b/update-site-gls/artifacts.jar index 8057724..6e16904 100644 Binary files a/update-site-gls/artifacts.jar and b/update-site-gls/artifacts.jar differ diff --git a/update-site-gls/content.jar b/update-site-gls/content.jar index d8d5f26..3234a03 100644 Binary files a/update-site-gls/content.jar and b/update-site-gls/content.jar differ diff --git a/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092050.jar b/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092050.jar new file mode 100644 index 0000000..eaa72dc Binary files /dev/null and b/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092050.jar differ diff --git a/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar b/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar new file mode 100644 index 0000000..7f5da81 Binary files /dev/null and b/update-site-gls/features/fr.n7.simplepdl.feature_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092050.jar new file mode 100644 index 0000000..b8fba82 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar new file mode 100644 index 0000000..6a71542 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.edit_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092050.jar new file mode 100644 index 0000000..5d8b173 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar new file mode 100644 index 0000000..caa9f2f Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.editor_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092050.jar new file mode 100644 index 0000000..9437459 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar new file mode 100644 index 0000000..49f402a Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.tests_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092050.jar new file mode 100644 index 0000000..5fd6a9d Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar new file mode 100644 index 0000000..a57fde1 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.toHTML.ui_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092050.jar new file mode 100644 index 0000000..a9c2944 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar new file mode 100644 index 0000000..c157b63 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl.toHTML_1.0.0.202110092107.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092050.jar b/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092050.jar new file mode 100644 index 0000000..479043a Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092050.jar differ diff --git a/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar b/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar new file mode 100644 index 0000000..bc7d9b1 Binary files /dev/null and b/update-site-gls/plugins/fr.n7.simplepdl_1.0.0.202110092107.jar differ