Browse Source

java: gestion categorie operationelle et ergonomique

PCYoshi 9 years ago
parent
commit
97aad81652

+ 206
- 75
java/.idea/workspace.xml View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <project version="4">
2
 <project version="4">
3
   <component name="ChangeListManager">
3
   <component name="ChangeListManager">
4
-    <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="" />
4
+    <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
5
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" />
6
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionCategories.class" afterPath="$PROJECT_DIR$/out/production/java/GestionCategories.class" />
7
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" />
8
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
9
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
10
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
13
+    </list>
5
     <ignored path="java.iws" />
14
     <ignored path="java.iws" />
6
     <ignored path=".idea/workspace.xml" />
15
     <ignored path=".idea/workspace.xml" />
7
     <ignored path="$PROJECT_DIR$/out/" />
16
     <ignored path="$PROJECT_DIR$/out/" />
22
   </component>
31
   </component>
23
   <component name="FileEditorManager">
32
   <component name="FileEditorManager">
24
     <leaf>
33
     <leaf>
25
-      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="false">
34
+      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
26
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
35
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
27
           <provider selected="true" editor-type-id="text-editor">
36
           <provider selected="true" editor-type-id="text-editor">
28
-            <state vertical-scroll-proportion="0.0">
29
-              <caret line="49" column="8" selection-start-line="49" selection-start-column="8" selection-end-line="49" selection-end-column="8" />
37
+            <state vertical-scroll-proportion="0.22099447">
38
+              <caret line="340" column="71" selection-start-line="340" selection-start-column="71" selection-end-line="340" selection-end-column="71" />
30
               <folding>
39
               <folding>
31
                 <element signature="imports" expanded="true" />
40
                 <element signature="imports" expanded="true" />
32
               </folding>
41
               </folding>
34
           </provider>
43
           </provider>
35
         </entry>
44
         </entry>
36
       </file>
45
       </file>
37
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
38
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
46
+      <file leaf-file-name="Categorie.java" pinned="false" current-in-tab="false">
47
+        <entry file="file://$PROJECT_DIR$/src/Categorie.java">
39
           <provider selected="true" editor-type-id="text-editor">
48
           <provider selected="true" editor-type-id="text-editor">
40
             <state vertical-scroll-proportion="0.0">
49
             <state vertical-scroll-proportion="0.0">
41
-              <caret line="48" column="53" selection-start-line="48" selection-start-column="53" selection-end-line="48" selection-end-column="53" />
50
+              <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
42
               <folding>
51
               <folding>
43
-                <element signature="imports" expanded="true" />
52
+                <element signature="e#80#81#0" expanded="true" />
53
+                <element signature="e#101#102#0" expanded="true" />
44
               </folding>
54
               </folding>
45
             </state>
55
             </state>
46
           </provider>
56
           </provider>
47
         </entry>
57
         </entry>
48
       </file>
58
       </file>
49
-      <file leaf-file-name="GestionCategories.java" pinned="false" current-in-tab="true">
50
-        <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
59
+      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
60
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
51
           <provider selected="true" editor-type-id="text-editor">
61
           <provider selected="true" editor-type-id="text-editor">
52
-            <state vertical-scroll-proportion="0.03601108">
53
-              <caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
62
+            <state vertical-scroll-proportion="0.0">
63
+              <caret line="63" column="76" selection-start-line="63" selection-start-column="76" selection-end-line="63" selection-end-column="76" />
54
               <folding>
64
               <folding>
55
                 <element signature="imports" expanded="true" />
65
                 <element signature="imports" expanded="true" />
66
+                <element signature="e#1239#1240#0" expanded="true" />
67
+                <element signature="e#1294#1295#0" expanded="true" />
68
+                <element signature="e#1349#1350#0" expanded="true" />
69
+                <element signature="e#1404#1405#0" expanded="true" />
56
               </folding>
70
               </folding>
57
             </state>
71
             </state>
58
           </provider>
72
           </provider>
59
         </entry>
73
         </entry>
60
       </file>
74
       </file>
61
-      <file leaf-file-name="GestionReponses.java" pinned="false" current-in-tab="false">
62
-        <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
75
+      <file leaf-file-name="GestionCategories.java" pinned="false" current-in-tab="false">
76
+        <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
63
           <provider selected="true" editor-type-id="text-editor">
77
           <provider selected="true" editor-type-id="text-editor">
64
             <state vertical-scroll-proportion="0.0">
78
             <state vertical-scroll-proportion="0.0">
65
-              <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
79
+              <caret line="80" column="18" selection-start-line="80" selection-start-column="18" selection-end-line="80" selection-end-column="18" />
66
               <folding>
80
               <folding>
67
                 <element signature="imports" expanded="true" />
81
                 <element signature="imports" expanded="true" />
68
-                <element signature="e#198#199#0" expanded="true" />
69
-                <element signature="e#219#220#0" expanded="true" />
82
+                <element signature="e#2067#2068#0" expanded="true" />
83
+                <element signature="e#2095#2096#0" expanded="true" />
70
               </folding>
84
               </folding>
71
             </state>
85
             </state>
72
           </provider>
86
           </provider>
73
         </entry>
87
         </entry>
74
       </file>
88
       </file>
75
-      <file leaf-file-name="GestionQuestions.java" pinned="false" current-in-tab="false">
76
-        <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
77
-          <provider selected="true" editor-type-id="text-editor">
78
-            <state vertical-scroll-proportion="0.0">
79
-              <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
80
-              <folding>
81
-                <element signature="imports" expanded="true" />
82
-                <element signature="e#202#203#0" expanded="true" />
83
-                <element signature="e#223#224#0" expanded="true" />
84
-              </folding>
85
-            </state>
89
+      <file leaf-file-name="mcd.png" pinned="false" current-in-tab="false">
90
+        <entry file="file://$PROJECT_DIR$/mcd.png">
91
+          <provider selected="true" editor-type-id="images">
92
+            <state />
86
           </provider>
93
           </provider>
87
         </entry>
94
         </entry>
88
       </file>
95
       </file>
119
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
126
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
120
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
127
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
121
         <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
128
         <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
122
-        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
123
         <option value="$PROJECT_DIR$/src/GestionCategories.java" />
129
         <option value="$PROJECT_DIR$/src/GestionCategories.java" />
130
+        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
124
       </list>
131
       </list>
125
     </option>
132
     </option>
126
   </component>
133
   </component>
135
     <order />
142
     <order />
136
   </component>
143
   </component>
137
   <component name="ProjectFrameBounds">
144
   <component name="ProjectFrameBounds">
145
+    <option name="x" value="-1" />
138
     <option name="y" value="27" />
146
     <option name="y" value="27" />
139
-    <option name="width" value="1366" />
140
-    <option name="height" value="711" />
147
+    <option name="width" value="1368" />
148
+    <option name="height" value="712" />
141
   </component>
149
   </component>
142
   <component name="ProjectInspectionProfilesVisibleTreeState">
150
   <component name="ProjectInspectionProfilesVisibleTreeState">
143
     <entry key="Project Default">
151
     <entry key="Project Default">
217
       <sortByType />
225
       <sortByType />
218
     </navigator>
226
     </navigator>
219
     <panes>
227
     <panes>
220
-      <pane id="PackagesPane" />
221
-      <pane id="Scope" />
222
       <pane id="ProjectPane">
228
       <pane id="ProjectPane">
223
         <subPane>
229
         <subPane>
224
           <PATH>
230
           <PATH>
253
           </PATH>
259
           </PATH>
254
         </subPane>
260
         </subPane>
255
       </pane>
261
       </pane>
262
+      <pane id="Scope" />
263
+      <pane id="PackagesPane" />
256
       <pane id="Scratches" />
264
       <pane id="Scratches" />
257
     </panes>
265
     </panes>
258
   </component>
266
   </component>
274
       <recent name="" />
282
       <recent name="" />
275
     </key>
283
     </key>
276
   </component>
284
   </component>
285
+  <component name="RestoreUpdateTree" date="Moments ago" ActionInfo="_Update">
286
+    <UpdatedFiles>
287
+      <FILE-GROUP>
288
+        <option name="myUpdateName" value="Updated from server" />
289
+        <option name="myStatusName" value="Changed on server" />
290
+        <option name="mySupportsDeletion" value="false" />
291
+        <option name="myCanBeAbsent" value="false" />
292
+        <option name="myId" value="CHANGED_ON_SERVER" />
293
+        <FILE-GROUP>
294
+          <option name="myUpdateName" value="Updated" />
295
+          <option name="myStatusName" value="Changed" />
296
+          <option name="mySupportsDeletion" value="false" />
297
+          <option name="myCanBeAbsent" value="false" />
298
+          <option name="myId" value="UPDATED" />
299
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/index.php</PATH>
300
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.categorie.php</PATH>
301
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.connector.php</PATH>
302
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.score.php</PATH>
303
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/tests.php</PATH>
304
+        </FILE-GROUP>
305
+        <FILE-GROUP>
306
+          <option name="myUpdateName" value="Created" />
307
+          <option name="myStatusName" value="Created" />
308
+          <option name="mySupportsDeletion" value="false" />
309
+          <option name="myCanBeAbsent" value="false" />
310
+          <option name="myId" value="CREATED" />
311
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/controller/palmares.php</PATH>
312
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/controller/questions.php</PATH>
313
+        </FILE-GROUP>
314
+        <FILE-GROUP>
315
+          <option name="myUpdateName" value="Deleted" />
316
+          <option name="myStatusName" value="Deleted" />
317
+          <option name="mySupportsDeletion" value="false" />
318
+          <option name="myCanBeAbsent" value="true" />
319
+          <option name="myId" value="REMOVED_FROM_REPOSITORY" />
320
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/view/palmares.php</PATH>
321
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/view/questions.php</PATH>
322
+        </FILE-GROUP>
323
+        <FILE-GROUP>
324
+          <option name="myUpdateName" value="Restored" />
325
+          <option name="myStatusName" value="Will be restored" />
326
+          <option name="mySupportsDeletion" value="false" />
327
+          <option name="myCanBeAbsent" value="false" />
328
+          <option name="myId" value="RESTORED" />
329
+        </FILE-GROUP>
330
+      </FILE-GROUP>
331
+      <FILE-GROUP>
332
+        <option name="myUpdateName" value="Modified" />
333
+        <option name="myStatusName" value="Modified" />
334
+        <option name="mySupportsDeletion" value="false" />
335
+        <option name="myCanBeAbsent" value="false" />
336
+        <option name="myId" value="MODIFIED" />
337
+      </FILE-GROUP>
338
+      <FILE-GROUP>
339
+        <option name="myUpdateName" value="Skipped" />
340
+        <option name="myStatusName" value="Skipped" />
341
+        <option name="mySupportsDeletion" value="false" />
342
+        <option name="myCanBeAbsent" value="false" />
343
+        <option name="myId" value="SKIPPED" />
344
+      </FILE-GROUP>
345
+      <FILE-GROUP>
346
+        <option name="myUpdateName" value="Merged with conflicts" />
347
+        <option name="myStatusName" value="Will be merged with conflicts" />
348
+        <option name="mySupportsDeletion" value="false" />
349
+        <option name="myCanBeAbsent" value="false" />
350
+        <option name="myId" value="MERGED_WITH_CONFLICTS" />
351
+      </FILE-GROUP>
352
+      <FILE-GROUP>
353
+        <option name="myUpdateName" value="Merged with tree conflicts" />
354
+        <option name="myStatusName" value="Merged with tree conflicts" />
355
+        <option name="mySupportsDeletion" value="false" />
356
+        <option name="myCanBeAbsent" value="false" />
357
+        <option name="myId" value="MERGED_WITH_TREE_CONFLICT" />
358
+      </FILE-GROUP>
359
+      <FILE-GROUP>
360
+        <option name="myUpdateName" value="Merged with property conflicts" />
361
+        <option name="myStatusName" value="Will be merged with property conflicts" />
362
+        <option name="mySupportsDeletion" value="false" />
363
+        <option name="myCanBeAbsent" value="false" />
364
+        <option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" />
365
+      </FILE-GROUP>
366
+      <FILE-GROUP>
367
+        <option name="myUpdateName" value="Merged" />
368
+        <option name="myStatusName" value="Will be merged" />
369
+        <option name="mySupportsDeletion" value="false" />
370
+        <option name="myCanBeAbsent" value="false" />
371
+        <option name="myId" value="MERGED" />
372
+      </FILE-GROUP>
373
+      <FILE-GROUP>
374
+        <option name="myUpdateName" value="Not in repository" />
375
+        <option name="myStatusName" value="Not in repository" />
376
+        <option name="mySupportsDeletion" value="true" />
377
+        <option name="myCanBeAbsent" value="false" />
378
+        <option name="myId" value="UNKNOWN" />
379
+      </FILE-GROUP>
380
+      <FILE-GROUP>
381
+        <option name="myUpdateName" value="Locally added" />
382
+        <option name="myStatusName" value="Locally added" />
383
+        <option name="mySupportsDeletion" value="false" />
384
+        <option name="myCanBeAbsent" value="false" />
385
+        <option name="myId" value="LOCALLY_ADDED" />
386
+      </FILE-GROUP>
387
+      <FILE-GROUP>
388
+        <option name="myUpdateName" value="Locally removed" />
389
+        <option name="myStatusName" value="Locally removed" />
390
+        <option name="mySupportsDeletion" value="false" />
391
+        <option name="myCanBeAbsent" value="false" />
392
+        <option name="myId" value="LOCALLY_REMOVED" />
393
+      </FILE-GROUP>
394
+      <FILE-GROUP>
395
+        <option name="myUpdateName" value="Switched" />
396
+        <option name="myStatusName" value="Switched" />
397
+        <option name="mySupportsDeletion" value="false" />
398
+        <option name="myCanBeAbsent" value="false" />
399
+        <option name="myId" value="SWITCHED" />
400
+      </FILE-GROUP>
401
+    </UpdatedFiles>
402
+  </component>
277
   <component name="RunManager" selected="Application.Main">
403
   <component name="RunManager" selected="Application.Main">
278
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
404
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
279
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
405
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
499
       <option name="project" value="LOCAL" />
625
       <option name="project" value="LOCAL" />
500
       <updated>1432749145047</updated>
626
       <updated>1432749145047</updated>
501
     </task>
627
     </task>
502
-    <option name="localTasksCounter" value="11" />
628
+    <task id="LOCAL-00011" summary="java: gestion categorie operationelle">
629
+      <created>1432891735205</created>
630
+      <option name="number" value="00011" />
631
+      <option name="project" value="LOCAL" />
632
+      <updated>1432891735205</updated>
633
+    </task>
634
+    <option name="localTasksCounter" value="12" />
503
     <servers />
635
     <servers />
504
   </component>
636
   </component>
505
   <component name="TodoView">
637
   <component name="TodoView">
512
     </todo-panel>
644
     </todo-panel>
513
   </component>
645
   </component>
514
   <component name="ToolWindowManager">
646
   <component name="ToolWindowManager">
515
-    <frame x="0" y="27" width="1366" height="711" extended-state="0" />
516
-    <editor active="false" />
647
+    <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
648
+    <editor active="true" />
517
     <layout>
649
     <layout>
518
       <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
650
       <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
519
       <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
651
       <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
525
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5030441" order="7" side_tool="true" content_ui="tabs" />
657
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5030441" order="7" side_tool="true" content_ui="tabs" />
526
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
658
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
527
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.49695587" order="7" side_tool="false" content_ui="tabs" />
659
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.49695587" order="7" side_tool="false" content_ui="tabs" />
528
-      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
660
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32864675" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
529
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
661
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
530
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
662
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
531
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
663
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
532
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
664
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
533
-      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.1674277" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
534
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30633804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
665
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.16717325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
666
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30579966" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
535
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
667
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
536
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
668
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
537
       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
669
       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
538
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
670
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
539
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
540
       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
671
       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
672
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
541
     </layout>
673
     </layout>
542
   </component>
674
   </component>
543
   <component name="Vcs.Log.UiProperties">
675
   <component name="Vcs.Log.UiProperties">
562
     <MESSAGE value="les boutons ecoutent" />
694
     <MESSAGE value="les boutons ecoutent" />
563
     <MESSAGE value="conexion bdd operationelle et avance classe de base" />
695
     <MESSAGE value="conexion bdd operationelle et avance classe de base" />
564
     <MESSAGE value="selection categorie fonctionelle" />
696
     <MESSAGE value="selection categorie fonctionelle" />
565
-    <option name="LAST_COMMIT_MESSAGE" value="selection categorie fonctionelle" />
697
+    <MESSAGE value="java: gestion categorie operationelle" />
698
+    <option name="LAST_COMMIT_MESSAGE" value="java: gestion categorie operationelle" />
566
   </component>
699
   </component>
567
   <component name="XDebuggerManager">
700
   <component name="XDebuggerManager">
568
     <breakpoint-manager>
701
     <breakpoint-manager>
581
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
714
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
582
           <folding>
715
           <folding>
583
             <element signature="imports" expanded="true" />
716
             <element signature="imports" expanded="true" />
717
+            <element signature="e#2067#2068#0" expanded="true" />
718
+            <element signature="e#2095#2096#0" expanded="true" />
584
           </folding>
719
           </folding>
585
         </state>
720
         </state>
586
       </provider>
721
       </provider>
603
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
738
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
604
           <folding>
739
           <folding>
605
             <element signature="imports" expanded="true" />
740
             <element signature="imports" expanded="true" />
606
-            <element signature="e#202#203#0" expanded="true" />
607
-            <element signature="e#223#224#0" expanded="true" />
608
           </folding>
741
           </folding>
609
         </state>
742
         </state>
610
       </provider>
743
       </provider>
894
         </state>
1027
         </state>
895
       </provider>
1028
       </provider>
896
     </entry>
1029
     </entry>
897
-    <entry file="file://$PROJECT_DIR$/src/Categorie.java">
898
-      <provider selected="true" editor-type-id="text-editor">
899
-        <state vertical-scroll-proportion="0.0">
900
-          <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
901
-          <folding>
902
-            <element signature="e#80#81#0" expanded="true" />
903
-            <element signature="e#101#102#0" expanded="true" />
904
-            <element signature="e#128#129#0" expanded="true" />
905
-            <element signature="e#145#146#0" expanded="true" />
906
-            <element signature="e#180#181#0" expanded="true" />
907
-            <element signature="e#201#202#0" expanded="true" />
908
-            <element signature="e#230#231#0" expanded="true" />
909
-            <element signature="e#247#248#0" expanded="true" />
910
-          </folding>
911
-        </state>
912
-      </provider>
913
-    </entry>
914
     <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
1030
     <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
915
       <provider selected="true" editor-type-id="text-editor">
1031
       <provider selected="true" editor-type-id="text-editor">
916
         <state vertical-scroll-proportion="0.6130031">
1032
         <state vertical-scroll-proportion="0.6130031">
933
         </state>
1049
         </state>
934
       </provider>
1050
       </provider>
935
     </entry>
1051
     </entry>
936
-    <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
1052
+    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
937
       <provider selected="true" editor-type-id="text-editor">
1053
       <provider selected="true" editor-type-id="text-editor">
938
         <state vertical-scroll-proportion="0.0">
1054
         <state vertical-scroll-proportion="0.0">
939
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
1055
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
940
           <folding>
1056
           <folding>
941
             <element signature="imports" expanded="true" />
1057
             <element signature="imports" expanded="true" />
942
-            <element signature="e#202#203#0" expanded="true" />
943
-            <element signature="e#223#224#0" expanded="true" />
1058
+            <element signature="e#198#199#0" expanded="true" />
1059
+            <element signature="e#219#220#0" expanded="true" />
1060
+          </folding>
1061
+        </state>
1062
+      </provider>
1063
+    </entry>
1064
+    <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
1065
+      <provider selected="true" editor-type-id="text-editor">
1066
+        <state vertical-scroll-proportion="0.24930748">
1067
+          <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
1068
+          <folding>
1069
+            <element signature="imports" expanded="true" />
944
           </folding>
1070
           </folding>
945
         </state>
1071
         </state>
946
       </provider>
1072
       </provider>
950
         <state />
1076
         <state />
951
       </provider>
1077
       </provider>
952
     </entry>
1078
     </entry>
953
-    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
1079
+    <entry file="file://$PROJECT_DIR$/src/Categorie.java">
954
       <provider selected="true" editor-type-id="text-editor">
1080
       <provider selected="true" editor-type-id="text-editor">
955
         <state vertical-scroll-proportion="0.0">
1081
         <state vertical-scroll-proportion="0.0">
956
-          <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
1082
+          <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
957
           <folding>
1083
           <folding>
958
-            <element signature="imports" expanded="true" />
959
-            <element signature="e#198#199#0" expanded="true" />
960
-            <element signature="e#219#220#0" expanded="true" />
1084
+            <element signature="e#80#81#0" expanded="true" />
1085
+            <element signature="e#101#102#0" expanded="true" />
961
           </folding>
1086
           </folding>
962
         </state>
1087
         </state>
963
       </provider>
1088
       </provider>
964
     </entry>
1089
     </entry>
965
-    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
1090
+    <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
966
       <provider selected="true" editor-type-id="text-editor">
1091
       <provider selected="true" editor-type-id="text-editor">
967
         <state vertical-scroll-proportion="0.0">
1092
         <state vertical-scroll-proportion="0.0">
968
-          <caret line="48" column="53" selection-start-line="48" selection-start-column="53" selection-end-line="48" selection-end-column="53" />
1093
+          <caret line="80" column="18" selection-start-line="80" selection-start-column="18" selection-end-line="80" selection-end-column="18" />
969
           <folding>
1094
           <folding>
970
             <element signature="imports" expanded="true" />
1095
             <element signature="imports" expanded="true" />
1096
+            <element signature="e#2067#2068#0" expanded="true" />
1097
+            <element signature="e#2095#2096#0" expanded="true" />
971
           </folding>
1098
           </folding>
972
         </state>
1099
         </state>
973
       </provider>
1100
       </provider>
974
     </entry>
1101
     </entry>
975
-    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1102
+    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
976
       <provider selected="true" editor-type-id="text-editor">
1103
       <provider selected="true" editor-type-id="text-editor">
977
         <state vertical-scroll-proportion="0.0">
1104
         <state vertical-scroll-proportion="0.0">
978
-          <caret line="49" column="8" selection-start-line="49" selection-start-column="8" selection-end-line="49" selection-end-column="8" />
1105
+          <caret line="63" column="76" selection-start-line="63" selection-start-column="76" selection-end-line="63" selection-end-column="76" />
979
           <folding>
1106
           <folding>
980
             <element signature="imports" expanded="true" />
1107
             <element signature="imports" expanded="true" />
1108
+            <element signature="e#1239#1240#0" expanded="true" />
1109
+            <element signature="e#1294#1295#0" expanded="true" />
1110
+            <element signature="e#1349#1350#0" expanded="true" />
1111
+            <element signature="e#1404#1405#0" expanded="true" />
981
           </folding>
1112
           </folding>
982
         </state>
1113
         </state>
983
       </provider>
1114
       </provider>
984
     </entry>
1115
     </entry>
985
-    <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
1116
+    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
986
       <provider selected="true" editor-type-id="text-editor">
1117
       <provider selected="true" editor-type-id="text-editor">
987
-        <state vertical-scroll-proportion="0.03601108">
988
-          <caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
1118
+        <state vertical-scroll-proportion="0.22099447">
1119
+          <caret line="340" column="71" selection-start-line="340" selection-start-column="71" selection-end-line="340" selection-end-column="71" />
989
           <folding>
1120
           <folding>
990
             <element signature="imports" expanded="true" />
1121
             <element signature="imports" expanded="true" />
991
           </folding>
1122
           </folding>

BIN
java/out/production/java/ConnexionBDD.class View File


BIN
java/out/production/java/GestionCategories.class View File


BIN
java/out/production/java/InterfacePrincipale$PanCategoriesListener.class View File


BIN
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class View File


BIN
java/out/production/java/InterfacePrincipale$PanReponsesListener.class View File


BIN
java/out/production/java/InterfacePrincipale.class View File


+ 15
- 1
java/src/InterfacePrincipale.java View File

4
 import java.awt.*;
4
 import java.awt.*;
5
 import java.awt.event.ActionEvent;
5
 import java.awt.event.ActionEvent;
6
 import java.awt.event.ActionListener;
6
 import java.awt.event.ActionListener;
7
+import java.lang.reflect.Array;
8
+import java.util.Arrays;
7
 
9
 
8
 import static java.lang.Thread.currentThread;
10
 import static java.lang.Thread.currentThread;
9
 import static java.lang.Thread.sleep;
11
 import static java.lang.Thread.sleep;
335
 				}
337
 				}
336
 
338
 
337
 				bdd.renameCategorie(oldCatName, newCatName);
339
 				bdd.renameCategorie(oldCatName, newCatName);
338
-				listC.setListData(bdd.getListeCategorie().toArray());
340
+
341
+				Object[] tabObject = bdd.getListeCategorie().toArray();
342
+				Categorie[] tabCategorie = Arrays.copyOf(tabObject, tabObject.length, Categorie[].class);
343
+				listC.setListData(tabCategorie);
344
+
345
+				for(int i=0; i<tabCategorie.length; i++)
346
+				{
347
+					if(tabCategorie[i].getNom().equals(newCatName))
348
+					{
349
+						listC.setSelectedValue(tabCategorie[i], true);
350
+						break;
351
+					}
352
+				}
339
 			}
353
 			}
340
 		}
354
 		}
341
 	}
355
 	}