Commit 253e17f9 authored by De Viry Guilhem's avatar De Viry Guilhem

Merge branch 'master' of gitlab.centralesupelec.fr:depasse_art/Projet-Long-9

parents 62765f13 4044d53f
# Projet-Long-9
# Plong9-demo
Guide d'utilisation
## Prérequis
- Maven installé sur le système
- Une installation d'Eclipse comprenant le Framework EMF
## Installation
Lancer Eclipse
Aller au menu *Help > Install Software*
puis cliquer sur le bouton *Add* et enfin *Archive*
Sélectionner l'archive *UpdateSite0.0.1.zip* dans le dossier *artifacts*
Ouvrir le repo Maven courant (en général ~/.m2) et y décompresser l'archive contenant la librairie *fsm_lib*
## Utilisation
Dans Eclipse créer un nouveau *Modeling Project*, puis faire un clic droit dessus et sélectionner :
*New > Other... >fsm example wizard*
Ouvrir le fichier *representation.aird*, activer le viewpoint et créer un nouveau diagramme.
Editer à souhait le diagramme puis sauvegarder.
Pour lancer la génération du code java faire un clic droit sur le fichier .fsm et sélectionner l'option de génération de code.
une fois les fichiers générés vous pouvez éditer le contenu des actions et des gardes.
Génération des clés client et server :
Ne pas oublier d'éditer le script de génération se trouvant dans le dossier *artifacts* pour inclure les infos sur l'entreprise puis les lancer pour générer les keystore, et les répartir entre client et serveur.
@echo off
rem Generate client public/private key pair into private keystore
echo Generating client public private key pair
keytool -genkey -alias clientprivate -keystore client.private -storetype JKS -keyalg rsa -dname "CN=Your Name, OU=Your Organizational Unit, O=Your Organization, L=Your City, S=Your State, C=Your Country" -storepass clientpw -keypass clientpw
rem Generate server public/private key pair
echo Generating server public private key pair
keytool -genkey -alias serverprivate -keystore server.private -storetype JKS -keyalg rsa -dname "CN=Your Name, OU=Your Organizational Unit, O=Your Organization, L=Your City, S=Your State, C=Your Country" -storepass serverpw -keypass serverpw
rem Export client public key and import it into public keystore
echo Generating client public key file
keytool -export -alias clientprivate -keystore client.private -file temp.key -storepass clientpw
keytool -import -noprompt -alias clientpublic -keystore client.public -file temp.key -storepass public
rm -f temp.key
rem Export server public key and import it into public keystore
echo Generating server public key file
keytool -export -alias serverprivate -keystore server.private -file temp.key -storepass serverpw
keytool -import -noprompt -alias serverpublic -keystore server.public -file temp.key -storepass public
rm -f temp.key
#!/bin/bash
# Generate client public/private key pair into private keystore
echo Generating client public private key pair
keytool -genkey -alias clientprivate -keystore client.private -storetype JKS -keyalg rsa -dname "CN=TeamPlong9, OU=Plong9, O=Supelec, L=Rennes, S=Ile-et-Vilaine, C=France" -storepass clientpw -keypass clientpw
# Generate server public/private key pair
echo Generating server public private key pair
keytool -genkey -alias serverprivate -keystore server.private -storetype JKS -keyalg rsa -dname "CN=TeamPlong9, OU=Plong9, O=Supelec, L=Rennes, S=Ile-et-Vilaine, C=France" -storepass serverpw -keypass serverpw
# Export client public key and import it into public keystore
echo Generating client public key file
keytool -export -alias clientprivate -keystore client.private -file temp.key -storepass clientpw
keytool -import -noprompt -alias clientpublic -keystore client.public -file temp.key -storepass public
rm -f temp.key
# Export server public key and import it into public keystore
echo Generating server public key file
keytool -export -alias serverprivate -keystore server.private -file temp.key -storepass serverpw
keytool -import -noprompt -alias serverpublic -keystore server.public -file temp.key -storepass public
rm -f temp.key
To install, use the updateSIte archive as a local update site in Eclipse and unzip the fsm_lib in your .m2 repo (usually in ~/.m2). Make sure your keep only the directory named "fr" and its childs and not the unzipped "fsm_lib" in the repo.
\ No newline at end of file
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: fr.supelec.plong9.fsm.design;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.0.1
Bundle-Activator: fr.supelec.plong9.fsm.design.Activator
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
......@@ -11,6 +11,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.sirius,
org.eclipse.sirius.common.acceleo.aql
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-RequiredExecutionEnvironment: JavaSE-9
Bundle-Vendor: %providerName
Automatic-Module-Name: fr.supelec.plong9.fsm.design
Export-Package: fr.supelec.plong9.fsm.design;uses:="org.osgi.framework,org.eclipse.emf.ecore,org.eclipse.ui.plugin"
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=10
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=10
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=10
......@@ -3,12 +3,12 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: fr.supelec.plong9.fsm.edit;singleton:=true
Automatic-Module-Name: fr.supelec.plong9.fsm.edit
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Activator: fr.supelec.plong9.fsm.provider.FsmEditPlugin$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-RequiredExecutionEnvironment: JavaSE-9
Export-Package: fr.supelec.plong9.fsm.provider
Require-Bundle: org.eclipse.core.runtime,
fr.supelec.plong9.fsm;visibility:=reexport,
......
......@@ -18,6 +18,8 @@ _UI_Transition_type = Transition
_UI_Event_type = Event
_UI_Action_type = Action
_UI_Guard_type = Guard
_UI_Message_type = Message
_UI_StringToStringMap_type = String To String Map
_UI_Unknown_type = Object
_UI_Unknown_datatype= Value
......@@ -25,39 +27,36 @@ _UI_Unknown_datatype= Value
_UI_FSM_name_feature = Name
_UI_FSM_ownedStates_feature = Owned States
_UI_FSM_initialState_feature = Initial State
_UI_FSM_currentState_feature = Current State
_UI_FSM_finalState_feature = Final State
_UI_FSM_ownedEvents_feature = Owned Events
_UI_FSM_isServer_feature = Is Server
_UI_FSM_ownedActions_feature = Owned Actions
_UI_FSM_ownedGuards_feature = Owned Guards
_UI_FSM_groupId_feature = Group Id
_UI_FSM_ownedMessages_feature = Owned Messages
_UI_FSM_dataTypes_feature = Data Types
_UI_State_name_feature = Name
_UI_State_owningFSM_feature = Owning FSM
_UI_State_outgoingTransitions_feature = Outgoing Transitions
_UI_State_incomingTransitions_feature = Incoming Transitions
_UI_State_onEnteredActions_feature = On Entered Actions
_UI_State_onExitedActions_feature = On Exited Actions
_UI_State_expectedMessage_feature = Expected Message
_UI_Transition_name_feature = Name
_UI_Transition_source_feature = Source
_UI_Transition_actions_feature = Actions
_UI_Transition_guard_feature = Guard
_UI_Transition_event_feature = Event
_UI_Transition_target_feature = Target
_UI_Transition_InverseGuard_feature = Inverse Guard
_UI_Event_name_feature = Name
_UI_Action_name_feature = Name
_UI_Guard_name_feature = Name
_UI_Unknown_feature = Unspecified
_UI_FSM_groupId_feature = Group Id
_UI_Message_type = Message
_UI_FSM_ownedMessages_feature = Owned Messages
_UI_Message_event_feature = Event
_UI_Message_data_feature = Data
_UI_State_expectedMessage_feature = Expected Message
_UI_StringToStringMap_type = String To String Map
_UI_StringToStringMap_key_feature = Key
_UI_StringToStringMap_value_feature = Value
_UI_Message_name_feature = Name
_UI_FSM_dataTypes_feature = Data Types
_UI_Message_enumsDef_feature = Enums Def
_UI_Transition_InverseGuard_feature = Inverse Guard
_UI_StringToStringMap_key_feature = Key
_UI_StringToStringMap_value_feature = Value
_UI_Unknown_feature = Unspecified
......@@ -7,10 +7,12 @@ import fr.supelec.plong9.fsm.Message;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
......
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=10
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=10
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=10
......@@ -3,12 +3,12 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: fr.supelec.plong9.fsm.editor;singleton:=true
Automatic-Module-Name: fr.supelec.plong9.fsm.editor
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Activator: fr.supelec.plong9.fsm.presentation.FsmEditorPlugin$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-RequiredExecutionEnvironment: JavaSE-9
Export-Package: fr.supelec.plong9.fsm.presentation
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources;visibility:=reexport,
......
......@@ -3,11 +3,11 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: fr.supelec.plong9.fsm;singleton:=true
Automatic-Module-Name: fr.supelec.plong9.fsm
Bundle-Version: 0.1.0.qualifier
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-RequiredExecutionEnvironment: JavaSE-9
Export-Package: fr.supelec.plong9.fsm;
uses:="org.eclipse.emf.ecore,
org.eclipse.emf.common.util",
......
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Example2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm"/>
<?xml version="1.0" encoding="UTF-8"?>
<viewpoint:DAnalysis xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xmi:id="_XCV9YGtPEemN0tplITbT1w" version="13.0.0.201804031646">
<semanticResources>My.fsm</semanticResources>
</viewpoint:DAnalysis>
<?xml version="1.0" encoding="UTF-8"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm"/>
<?xml version="1.0" encoding="UTF-8"?>
<viewpoint:DAnalysis xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xmi:id="_LGgJIHWlEemvfoQWpo4auQ" version="13.0.0.201804031646"/>
<?xml version="1.0" encoding="UTF-8"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm">
<ownedStates name="Attente" incomingTransitions="//@ownedStates.0/@outgoingTransitions.0">
<outgoingTransitions name="reception" target="//@ownedStates.0" event="ping" action="pong"/>
</ownedStates>
</fsm:FSM>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>demonstration</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm">
<ownedStates incomingTransitions="//@ownedStates.1/@outgoingTransitions.0"/>
<ownedStates>
<outgoingTransitions target="//@ownedStates.0"/>
</ownedStates>
</fsm:FSM>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>demo</name>
<name>fr.supelec.NP2JG</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="fr.supelec.NP2JG"
label="NP2JG"
version="0.0.1">
<description url="http://www.example.com/description">
Network Protocol to Java Generator
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<includes
id="fr.supelec.plong9.acceleo.feature"
version="0.0.0"/>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.sirius"/>
<import plugin="org.eclipse.sirius.common.acceleo.aql"/>
<import plugin="org.eclipse.emf.ecore"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="org.eclipse.emf.edit.ui"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.ocl"/>
<import plugin="org.eclipse.ocl.ecore"/>
<import plugin="org.eclipse.acceleo.common" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.model" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.profiler" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.engine" version="3.3.0" match="greaterOrEqual"/>
<import plugin="com.google.guava"/>
<import plugin="org.eclipse.osgi"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.jface"/>
<import plugin="org.eclipse.emf.edit"/>
</requires>
<plugin
id="fr.supelec.plong9.fsm.design"
download-size="0"
install-size="0"
version="0.0.1"
unpack="false"/>
<plugin
id="fr.supelec.plong9.fsm"
download-size="0"
install-size="0"
version="0.0.1"
unpack="false"/>
<plugin
id="fr.supelec.plong9.fsm.editor"
download-size="0"
install-size="0"
version="0.0.1"
unpack="false"/>
<plugin
id="fr.supelec.plong9.acceleo.generation"
download-size="0"
install-size="0"
version="0.0.1"/>
<plugin
id="fr.supelec.plong9.fsm.edit"
download-size="0"
install-size="0"
version="0.0.1"
unpack="false"/>
<plugin
id="fr.supelec.plong9.acceleo.generation.ui"
download-size="0"
install-size="0"
version="0.0.1"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/fr.supelec.plong9.acceleo.feature_1.0.0.qualifier.jar" id="fr.supelec.plong9.acceleo.feature" version="1.0.0.qualifier">
<category name="Modeling"/>
</feature>
<category-def name="Modeling" label="Modeling"/>
</site>
......@@ -2,10 +2,10 @@
<feature
id="fr.supelec.plong9.acceleo.feature"
label="Feature"
version="1.0.0.qualifier">
version="0.0.1">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
Acceleo generator feature
</description>
<copyright url="http://www.example.com/copyright">
......@@ -16,16 +16,37 @@
[Enter License Description here.]
</license>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.emf.ecore"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="org.eclipse.ocl"/>
<import plugin="org.eclipse.ocl.ecore"/>
<import plugin="org.eclipse.acceleo.model"/>
<import plugin="org.eclipse.acceleo.engine"/>
<import plugin="fr.supelec.plong9.fsm"/>
<import plugin="org.eclipse.acceleo.common" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.model" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.profiler" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.engine" version="3.3.0" match="greaterOrEqual"/>
<import plugin="com.google.guava"/>
<import plugin="org.eclipse.osgi"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.jface"/>
</requires>
<plugin
id="fr.supelec.plong9.acceleo.generation.ui"
download-size="0"
install-size="0"
version="0.0.0"/>
version="0.0.1"/>
<plugin
id="fr.supelec.plong9.acceleo.generation"
download-size="0"
install-size="0"
version="0.0.0"/>
version="0.0.1"/>
</feature>
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Acceleo FSM to Java Module IDE Plug-in
Bundle-SymbolicName: fr.supelec.plong9.acceleo.generation.ui;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.0.1
Bundle-Activator: fr.supelec.plong9.acceleo.generation.ui.Activator
Bundle-Vendor: Eclipse Modeling Project
Require-Bundle: org.eclipse.ui,
......@@ -18,3 +18,6 @@ Require-Bundle: org.eclipse.ui,
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
Export-Package: fr.supelec.plong9.acceleo.generation.ui,
fr.supelec.plong9.acceleo.generation.ui.common,
fr.supelec.plong9.acceleo.generation.ui.popupMenus
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Acceleo Generation Module Runtime Plug-in
Bundle-SymbolicName: fr.supelec.plong9.acceleo.generation
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.0.1
Bundle-Activator: fr.supelec.plong9.acceleo.generation.Activator
Bundle-Vendor: Eclipse Modeling Project
Require-Bundle: org.eclipse.core.runtime,
......@@ -20,7 +20,7 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.ui.workbench,
org.eclipse.jface
Bundle-RequiredExecutionEnvironment: JavaSE-10
Bundle-RequiredExecutionEnvironment: JavaSE-9
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
Export-Package: fr.supelec.plong9.acceleo.generation.main
......
instructions.install = \
chmod(targetDir:${installFolder}/resources/asn1_scripts/jasn1-compiler,targetFile:resources/asn1_scripts/jasn1-compiler,permissions:755);\
chmod(targetDir:${installFolder}/resources/asn1_scripts/jasn1-compiler.bat,targetFile:resources/asn1_scripts/jasn1-compiler.bat,permissions:755);
instructions.install.import = org.eclipse.equinox.p2.touchpoint.eclipse.chmod
\ No newline at end of file
chmod(targetDir:@artifact,targetFile:resources/asn1_scripts/jasn1-compiler,permissions:755);\
chmod(targetDir:@artifact,targetFile:resources/asn1_scripts/jasn1-compiler.bat,permissions:755);
instructions.install.import = org.eclipse.equinox.p2.touchpoint.eclipse.chmod
......@@ -210,11 +210,18 @@ public class Main extends AbstractAcceleoGenerator {
super.doGenerate(monitor);
String OS = System.getProperty("os.name").toLowerCase();
URL fileURL;
URL fileURL = new URL("platform:/plugin/fr.supelec.plong9.acceleo.generation/resources/asn1_scripts/jasn1-compiler");
System.out.println(fileURL.toString());
if (isWindows(OS)) {
fileURL = new URL("platform:/plugin/fr.supelec.plong9.acceleo.generation/resources/asn1_scripts/jasn1-compiler.bat");
} else if (isMac(OS) || isUnix(OS)) {
fileURL = new URL("platform:/plugin/fr.supelec.plong9.acceleo.generation/resources/asn1_scripts/jasn1-compiler");
} else {
System.out.println("Your OS is not supported for jasn1 scripts!!");
return;
}
File file = null;
try {
file = new File(FileLocator.resolve(fileURL).toURI());
......@@ -250,6 +257,30 @@ public class Main extends AbstractAcceleoGenerator {
}
public static boolean isWindows(String OS) {
return (OS.indexOf("win") >= 0);
}
public static boolean isMac(String OS) {
return (OS.indexOf("mac") >= 0);
}
public static boolean isUnix(String OS) {
return (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 );
}
public static boolean isSolaris(String OS) {
return (OS.indexOf("sunos") >= 0);
}
/**
* If this generator needs to listen to text generation events, listeners can be returned from here.
*
......
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Example3</name>
<name>fr.supelec.updateSite</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.UpdateSiteBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
<nature>org.eclipse.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description name="Update Site for Projet Long 9">
this is the update site for the projet Long 9 (2018/2019 Supélec Rennes)
</description>
<feature url="features/fr.supelec.NP2JG_0.0.1.jar" id="fr.supelec.NP2JG" version="0.0.1">
<category name="Modeling"/>
</feature>
<category-def name="Modeling" label="Modeling"/>
</site>
This diff is collapsed.
ajde.version.at.previous.startup=2.2.4.201901092148
eclipse.preferences.version=1
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
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=14
org.eclipse.jdt.ui.text.custom_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="aspectj" deleted\="false" description\="adviceexecution pointcut (AspectJ)" enabled\="true" name\="adviceexecution">adviceexecution()</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="after returning advice (AspectJ)" enabled\="true" name\="after_returning">after(${args}) returning() \: ${pointcut_expression} {}</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="after throwing advice (AspectJ)" enabled\="true" name\="after_throwing">after(${args}) throwing() \: ${pointcut_expression} {}</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="around advice (AspectJ)" enabled\="true" name\="around">around(${args}) \: ${pointcut_expression} {}</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="before advice (AspectJ)" enabled\="true" name\="before">before(${args}) \: ${pointcut_expression} {}</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="call constructor pointcut (AspectJ)" enabled\="true" name\="call_cons">call(${modifier_pattern} ${type_pattern}.new(..))</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="call method declaration (AspectJ)" enabled\="true" name\="call_method">call(${modifiers_pattern} ${ret_type_pattern} ${type_pattern}.${id_pattern}(..))</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="cflow pointcut (AspectJ)" enabled\="true" name\="cflow">cflow(${pointcut_expression})</template><template autoinsert\="true" context\="aspectj" deleted\="false" description\="cflowbelow pointcut (AspectJ)" enabled\="true" name\="cflowbelow">cflowbelow(${pointcut_expression})</templat