-
Notifications
You must be signed in to change notification settings - Fork 0
/
system.ecore
97 lines (97 loc) · 5.45 KB
/
system.ecore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="system" nsURI="http://system/1.0" nsPrefix="system">
<eAnnotations source="Box">
<details key="extends JPanel"/>
<details key="une instance = une case"/>
<details key="présentation graphique de MBox"/>
</eAnnotations>
<eAnnotations source="Window">
<details key="squelette de la fenêtre"/>
<details key="extends JFrame"/>
</eAnnotations>
<eAnnotations source="Labyrinthe">
<details key="contient les boxes"/>
<details key="représentation graphique de maze"/>
</eAnnotations>
<eAnnotations source="Labyrinthe.methods">
<details key="Save maze in the text file"/>
<details key="create the labyrinthe"/>
<details key="create the labyrinthe with load function"/>
<details key="Arrival and departure OK, desactivate listeners"/>
<details key="OnComplete OK"/>
<details key="update all labyrinthe ( load function )"/>
<details key="update one box"/>
<details key="paint shortest path"/>
</eAnnotations>
<eClassifiers xsi:type="ecore:EClass" name="MBoxBuilder">
<eOperations name="abstract maze.MBox createBox(maze.Maze maze, int line, int column);"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ABoxBuilder">
<eOperations name="ABox createBox(Maze maze, int line, int column)"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DBoxBuilder">
<eOperations name="DBoxcreateBox(Maze maze, int line, int column)"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EBoxBuilder">
<eOperations name="EBoxcreateBox(Maze maze, int line, int column)"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WBoxBuilder">
<eOperations name="WBoxcreateBox(Maze maze, int line, int column)"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Window">
<eOperations name="public void keyPressed"/>
<eOperations name="public void keyReleased"/>
<eOperations name="public void keyTyped"/>
<eOperations name="public void actionPerformed"/>
<eOperations name="public Window"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private Labyrinthe labyrinthe"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private JButton loadmaze"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private JButton savemaze"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="static private final String filename"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Box">
<eOperations name="public Box (int line, int column, Labyrinthe labyrinthe, Color color, String string)"/>
<eOperations name="public MBox getBox"/>
<eOperations name="public void setColor(Color color) "/>
<eOperations name="public void paintComponent(Graphics g)"/>
<eOperations name="public void mouseClicked(MouseEvent e)"/>
<eOperations name="public void mouseEntered(MouseEvent e)"/>
<eOperations name="public void mouseExited(MouseEvent e)"/>
<eOperations name="public void mousePressed(MouseEvent e"/>
<eOperations name="public void mouseReleased(MouseEvent e"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private Labyrinthe labyrinthe"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private MBox mBox"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private Color color"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private String string"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private int line"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private int column"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Labyrinthe">
<eOperations name="public void SaveMaze"/>
<eOperations name="public Labyrinthe"/>
<eOperations name="public Labyrinthe(Maze maze)"/>
<eOperations name="private void onComplete()"/>
<eOperations name="private boolean isCompleted"/>
<eOperations name="public void update"/>
<eOperations name="public void update(int line, int column)"/>
<eOperations name="private void paintShortestPath"/>
<eOperations name="public void keyPressed(KeyEvent arg0)"/>
<eOperations name="public void paintComponent(Graphics g)"/>
<eOperations name="private MBox getDeparture"/>
<eOperations name="private MBox getArrival"/>
<eOperations name="public maze.Maze getMaze"/>
<eOperations name="public String getString"/>
<eOperations name="public Color getColor"/>
<eOperations name="public BoxFactory getFactory()"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private Color color"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="static private maze.Maze maze"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private BoxFactory factory"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private String string"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private GridLayout layout"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private Box[][] boxes"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private boolean dBoxExists"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="private boolean aBoxExists"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="static private final String filename"/>
</eClassifiers>
</ecore:EPackage>