Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Projet GORDYJAN_BAGNOLY_GARCIA_POIGNONNEC
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POIGNONNEC
Projet GORDYJAN_BAGNOLY_GARCIA_POIGNONNEC
Commits
60366711
Commit
60366711
authored
May 09, 2019
by
Théo GORDYJAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorganize + add classes
parent
bad020ac
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
365 additions
and
54 deletions
+365
-54
uiDesigner.xml
garage/.idea/uiDesigner.xml
+124
-0
workspace.xml
garage/.idea/workspace.xml
+179
-50
DieselEngine.java
garage/src/Engine/DieselEngine.java
+4
-0
ElectricEngine.java
garage/src/Engine/ElectricEngine.java
+4
-0
Engine.java
garage/src/Engine/Engine.java
+25
-0
EngineType.java
garage/src/Engine/EngineType.java
+1
-1
HybridEngine.java
garage/src/Engine/HybridEngine.java
+4
-0
PetrolEngine.java
garage/src/Engine/PetrolEngine.java
+4
-0
Brand.java
garage/src/Vehicle/Brand.java
+1
-1
Vehicle.java
garage/src/Vehicle/Vehicle.java
+7
-2
Garage.java
garage/src/main/Garage.java
+4
-0
TestEngine.java
garage/src/test/TestEngine.java
+4
-0
TestVehicle.java
garage/src/test/TestVehicle.java
+4
-0
No files found.
garage/.idea/uiDesigner.xml
0 → 100644
View file @
60366711
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"Palette2"
>
<group
name=
"Swing"
>
<item
class=
"com.intellij.uiDesigner.HSpacer"
tooltip-text=
"Horizontal Spacer"
icon=
"/com/intellij/uiDesigner/icons/hspacer.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"1"
hsize-policy=
"6"
anchor=
"0"
fill=
"1"
/>
</item>
<item
class=
"com.intellij.uiDesigner.VSpacer"
tooltip-text=
"Vertical Spacer"
icon=
"/com/intellij/uiDesigner/icons/vspacer.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"1"
anchor=
"0"
fill=
"2"
/>
</item>
<item
class=
"javax.swing.JPanel"
icon=
"/com/intellij/uiDesigner/icons/panel.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"3"
hsize-policy=
"3"
anchor=
"0"
fill=
"3"
/>
</item>
<item
class=
"javax.swing.JScrollPane"
icon=
"/com/intellij/uiDesigner/icons/scrollPane.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"7"
hsize-policy=
"7"
anchor=
"0"
fill=
"3"
/>
</item>
<item
class=
"javax.swing.JButton"
icon=
"/com/intellij/uiDesigner/icons/button.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"3"
anchor=
"0"
fill=
"1"
/>
<initial-values>
<property
name=
"text"
value=
"Button"
/>
</initial-values>
</item>
<item
class=
"javax.swing.JRadioButton"
icon=
"/com/intellij/uiDesigner/icons/radioButton.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"3"
anchor=
"8"
fill=
"0"
/>
<initial-values>
<property
name=
"text"
value=
"RadioButton"
/>
</initial-values>
</item>
<item
class=
"javax.swing.JCheckBox"
icon=
"/com/intellij/uiDesigner/icons/checkBox.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"3"
anchor=
"8"
fill=
"0"
/>
<initial-values>
<property
name=
"text"
value=
"CheckBox"
/>
</initial-values>
</item>
<item
class=
"javax.swing.JLabel"
icon=
"/com/intellij/uiDesigner/icons/label.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"0"
anchor=
"8"
fill=
"0"
/>
<initial-values>
<property
name=
"text"
value=
"Label"
/>
</initial-values>
</item>
<item
class=
"javax.swing.JTextField"
icon=
"/com/intellij/uiDesigner/icons/textField.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"8"
fill=
"1"
>
<preferred-size
width=
"150"
height=
"-1"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JPasswordField"
icon=
"/com/intellij/uiDesigner/icons/passwordField.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"8"
fill=
"1"
>
<preferred-size
width=
"150"
height=
"-1"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JFormattedTextField"
icon=
"/com/intellij/uiDesigner/icons/formattedTextField.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"8"
fill=
"1"
>
<preferred-size
width=
"150"
height=
"-1"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JTextArea"
icon=
"/com/intellij/uiDesigner/icons/textArea.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JTextPane"
icon=
"/com/intellij/uiDesigner/icons/textPane.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JEditorPane"
icon=
"/com/intellij/uiDesigner/icons/editorPane.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JComboBox"
icon=
"/com/intellij/uiDesigner/icons/comboBox.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"2"
anchor=
"8"
fill=
"1"
/>
</item>
<item
class=
"javax.swing.JTable"
icon=
"/com/intellij/uiDesigner/icons/table.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JList"
icon=
"/com/intellij/uiDesigner/icons/list.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"2"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JTree"
icon=
"/com/intellij/uiDesigner/icons/tree.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"150"
height=
"50"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JTabbedPane"
icon=
"/com/intellij/uiDesigner/icons/tabbedPane.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"3"
hsize-policy=
"3"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"200"
height=
"200"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JSplitPane"
icon=
"/com/intellij/uiDesigner/icons/splitPane.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"3"
hsize-policy=
"3"
anchor=
"0"
fill=
"3"
>
<preferred-size
width=
"200"
height=
"200"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JSpinner"
icon=
"/com/intellij/uiDesigner/icons/spinner.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"true"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"8"
fill=
"1"
/>
</item>
<item
class=
"javax.swing.JSlider"
icon=
"/com/intellij/uiDesigner/icons/slider.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"8"
fill=
"1"
/>
</item>
<item
class=
"javax.swing.JSeparator"
icon=
"/com/intellij/uiDesigner/icons/separator.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"6"
anchor=
"0"
fill=
"3"
/>
</item>
<item
class=
"javax.swing.JProgressBar"
icon=
"/com/intellij/uiDesigner/icons/progressbar.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"0"
fill=
"1"
/>
</item>
<item
class=
"javax.swing.JToolBar"
icon=
"/com/intellij/uiDesigner/icons/toolbar.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"6"
anchor=
"0"
fill=
"1"
>
<preferred-size
width=
"-1"
height=
"20"
/>
</default-constraints>
</item>
<item
class=
"javax.swing.JToolBar$Separator"
icon=
"/com/intellij/uiDesigner/icons/toolbarSeparator.png"
removable=
"false"
auto-create-binding=
"false"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"0"
hsize-policy=
"0"
anchor=
"0"
fill=
"1"
/>
</item>
<item
class=
"javax.swing.JScrollBar"
icon=
"/com/intellij/uiDesigner/icons/scrollbar.png"
removable=
"false"
auto-create-binding=
"true"
can-attach-label=
"false"
>
<default-constraints
vsize-policy=
"6"
hsize-policy=
"0"
anchor=
"0"
fill=
"2"
/>
</item>
</group>
</component>
</project>
\ No newline at end of file
garage/.idea/workspace.xml
View file @
60366711
...
@@ -2,15 +2,19 @@
...
@@ -2,15 +2,19 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"b9f7e8e0-35d9-4b18-a962-7ed056e3a2a5"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"b9f7e8e0-35d9-4b18-a962-7ed056e3a2a5"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/description.html"
beforeDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/.idea/uiDesigner.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/encodings.xml"
beforeDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/Engine/DieselEngine.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/misc.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/misc.xml"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/Engine/ElectricEngine.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/project-template.xml"
beforeDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/Engine/Engine.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/Engine/HybridEngine.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/Engine/PetrolEngine.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/main/Garage.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/test/TestEngine.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/test/TestVehicle.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/garage.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/garage.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/Brand.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Vehicle/Brand.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/out/production/garage/main/Main.class"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/out/production/garage/main/Main.class"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/EngineType.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Engine/EngineType.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/Brand.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/Brand.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/Vehicle.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Vehicle/Vehicle.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/engineType.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/EngineType.java"
afterDir=
"false"
/>
</list>
</list>
<ignored
path=
"$PROJECT_DIR$/out/"
/>
<ignored
path=
"$PROJECT_DIR$/out/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
@@ -24,6 +28,42 @@
...
@@ -24,6 +28,42 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/Vehicle/Vehicle.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"43"
selection-start-line=
"4"
selection-start-column=
"43"
selection-end-line=
"4"
selection-end-column=
"43"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/EngineType.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"12"
selection-start-line=
"2"
selection-start-column=
"12"
selection-end-line=
"2"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/test/TestVehicle.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"24"
selection-start-line=
"2"
selection-start-column=
"24"
selection-end-line=
"2"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/test/TestEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"23"
selection-start-line=
"2"
selection-start-column=
"23"
selection-end-line=
"2"
selection-end-column=
"23"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/Main.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/Main.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
@@ -33,45 +73,60 @@
...
@@ -33,45 +73,60 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/Engine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"10"
selection-start-line=
"10"
selection-end-line=
"10"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
main/Vehicl
e.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/
Engine/HybridEngin
e.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"
13"
selection-start-line=
"2"
selection-start-column=
"13"
selection-end-line=
"2"
selection-end-column=
"13
"
/>
<caret
line=
"2"
column=
"
25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/Brand.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/ElectricEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"27"
selection-start-line=
"2"
selection-start-column=
"27"
selection-end-line=
"2"
selection-end-column=
"27"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/PetrolEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"26"
column=
"5"
selection-start-line=
"26"
selection-start-column=
"5"
selection-end-line=
"26"
selection-end-column=
"5"
/>
<caret
line=
"2"
column=
"25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"e#232#233#0"
expanded=
"true"
/>
<element
signature=
"e#260#261#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
main/EngineTyp
e.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/
Engine/DieselEngin
e.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"390"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"26"
column=
"5"
selection-start-line=
"26"
selection-start-column=
"5"
selection-end-line=
"26"
selection-end-column=
"5"
/>
<caret
line=
"2"
column=
"25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"e#153#154#0"
expanded=
"true"
/>
<element
signature=
"e#187#188#0"
expanded=
"true"
/>
<element
signature=
"e#219#220#0"
expanded=
"true"
/>
<element
signature=
"e#247#248#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
</leaf>
</leaf>
</component>
</component>
<component
name=
"FileTemplateManagerImpl"
>
<option
name=
"RECENT_TEMPLATES"
>
<list>
<option
value=
"Class"
/>
</list>
</option>
</component>
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$/.."
/>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$/.."
/>
</component>
</component>
...
@@ -82,16 +137,22 @@
...
@@ -82,16 +137,22 @@
<option
value=
"$PROJECT_DIR$/src/main/engineType.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/engineType.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/Brand.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/Brand.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/EngineType.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/EngineType.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/Vehicle.java"
/>
<option
value=
"$PROJECT_DIR$/src/Vehicle/Brand.java"
/>
<option
value=
"$PROJECT_DIR$/src/Engine/Engine.java"
/>
<option
value=
"$PROJECT_DIR$/src/Vehicle/Vehicle.java"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"21"
/>
<option
name=
"x"
value=
"21"
/>
<option
name=
"y"
value=
"
45
"
/>
<option
name=
"y"
value=
"
1108
"
/>
<option
name=
"width"
value=
"1878"
/>
<option
name=
"width"
value=
"1878"
/>
<option
name=
"height"
value=
"1014"
/>
<option
name=
"height"
value=
"1014"
/>
</component>
</component>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"true"
/>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"true"
>
<ConfirmationsSetting
value=
"2"
id=
"Add"
/>
</component>
<component
name=
"ProjectView"
>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
<foldersAlwaysOnTop
value=
"true"
/>
...
@@ -110,12 +171,30 @@
...
@@ -110,12 +171,30 @@
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<item
name=
"garage"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Engine"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<path>
<item
name=
"garage"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"garage"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<item
name=
"garage"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"test"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"garage"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"garage"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Vehicle"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
</expand>
<select
/>
<select
/>
</subPane>
</subPane>
...
@@ -151,7 +230,7 @@
...
@@ -151,7 +230,7 @@
<module
name=
"garage"
/>
<module
name=
"garage"
/>
<extension
name=
"coverage"
>
<extension
name=
"coverage"
>
<pattern>
<pattern>
<option
name=
"PATTERN"
value=
"
main
.*"
/>
<option
name=
"PATTERN"
value=
"
Vehicle
.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</pattern>
</extension>
</extension>
...
@@ -185,18 +264,16 @@
...
@@ -185,18 +264,16 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"21"
y=
"
45
"
width=
"1878"
height=
"1014"
extended-state=
"0"
/>
<frame
x=
"21"
y=
"
1108
"
width=
"1878"
height=
"1014"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.
2527233
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.
13562092
"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Image Layers"
order=
"2"
/>
<window_info
id=
"Image Layers"
order=
"2"
/>
<window_info
id=
"Designer"
order=
"3"
/>
<window_info
id=
"Designer"
order=
"3"
/>
<window_info
id=
"UI Designer"
order=
"4"
/>
<window_info
id=
"UI Designer"
order=
"4"
/>
<window_info
id=
"Capture Tool"
order=
"5"
/>
<window_info
id=
"Capture Tool"
order=
"5"
/>
<window_info
id=
"Favorites"
order=
"6"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"6"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Run Dashboard"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
weight=
"0.3292683"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.3292683"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.3292683"
/>
...
@@ -207,6 +284,8 @@
...
@@ -207,6 +284,8 @@
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"7"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"7"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"8"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"8"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Run Dashboard"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"11"
weight=
"0.3292683"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
...
@@ -218,19 +297,66 @@
...
@@ -218,19 +297,66 @@
</layout>
</layout>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/
main/EngineType
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/
Vehicle/Brand
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
9
0"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2
6"
column=
"5"
selection-start-line=
"26"
selection-start-column=
"5"
selection-end-line=
"26"
selection-end-column=
"5
"
/>
<caret
line=
"2
"
column=
"12"
selection-start-line=
"2"
selection-start-column=
"12"
selection-end-line=
"2"
selection-end-column=
"12
"
/>
<folding>
<folding>
<element
signature=
"e#153#154#0"
expanded=
"true"
/>
<element
signature=
"e#232#233#0"
expanded=
"true"
/>
<element
signature=
"e#187#188#0"
expanded=
"true"
/>
<element
signature=
"e#260#261#0"
expanded=
"true"
/>
<element
signature=
"e#219#220#0"
expanded=
"true"
/>
<element
signature=
"e#247#248#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/Garage.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"21"
selection-start-line=
"2"
selection-start-column=
"21"
selection-end-line=
"2"
selection-end-column=
"21"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/EngineType.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"12"
selection-start-line=
"2"
selection-start-column=
"12"
selection-end-line=
"2"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/test/TestVehicle.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"24"
selection-start-line=
"2"
selection-start-column=
"24"
selection-end-line=
"2"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/HybridEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/PetrolEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/DieselEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"25"
selection-start-line=
"2"
selection-start-column=
"25"
selection-end-line=
"2"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/test/TestEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"23"
selection-start-line=
"2"
selection-start-column=
"23"
selection-end-line=
"2"
selection-end-column=
"23"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/Main.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/Main.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<state
relative-caret-position=
"60"
>
...
@@ -238,21 +364,24 @@
...
@@ -238,21 +364,24 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/Vehicle.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/Vehicle/Vehicle.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"43"
selection-start-line=
"4"
selection-start-column=
"43"
selection-end-line=
"4"
selection-end-column=
"43"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/Engine/ElectricEngine.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"
13"
selection-start-line=
"2"
selection-start-column=
"13"
selection-end-line=
"2"
selection-end-column=
"13
"
/>
<caret
line=
"2"
column=
"
27"
selection-start-line=
"2"
selection-start-column=
"27"
selection-end-line=
"2"
selection-end-column=
"27
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
main/Brand
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/
Engine/Engine
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"26"
column=
"5"
selection-start-line=
"26"
selection-start-column=
"5"
selection-end-line=
"26"
selection-end-column=
"5"
/>
<caret
line=
"10"
selection-start-line=
"10"
selection-end-line=
"10"
/>
<folding>
<element
signature=
"e#232#233#0"
expanded=
"true"
/>
<element
signature=
"e#260#261#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
garage/src/Engine/DieselEngine.java
0 → 100644
View file @
60366711
package
Engine
;
public
class
DieselEngine
{
}
garage/src/Engine/ElectricEngine.java
0 → 100644
View file @
60366711
package
Engine
;
public
class
ElectricEngine
{
}
garage/src/Engine/Engine.java
0 → 100644
View file @
60366711
package
Engine
;
public
class
Engine
{
private
EngineType
type
;
private
String
cylindre
;
private
Double
price
;
public
Engine
(
EngineType
_type
,
String
_cylindyre
,
Double
price
)
{
}
public
String
toString
()
{
}
public
Double
getPrice
()
{
}
}
garage/src/
main
/EngineType.java
→
garage/src/
Engine
/EngineType.java
View file @
60366711
package
main
;
package
Engine
;
public
enum
EngineType
{
public
enum
EngineType
{
...
...
garage/src/Engine/HybridEngine.java
0 → 100644
View file @
60366711
package
Engine
;
public
class
HybridEngine
{
}
garage/src/Engine/PetrolEngine.java
0 → 100644
View file @
60366711
package
Engine
;
public
class
PetrolEngine
{
}
garage/src/
main
/Brand.java
→
garage/src/
Vehicle
/Brand.java
View file @
60366711
package
main
;
package
Vehicle
;
public
enum
Brand
{
public
enum
Brand
{
...
...
garage/src/
main
/Vehicle.java
→
garage/src/
Vehicle
/Vehicle.java
View file @
60366711
package
main
;
package
Vehicle
;
public
class
Vehicle
{
public
class
Vehicle
{
private
static
int
numberOfVehicles
=
0
;
private
Double
price
;
private
Double
price
;
private
String
name
;
private
String
name
;
// private options List<Option>
// private options List<Option>
// private brandName Brand
// private brandName Brand
public
Vehicle
()
{
numberOfVehicles
++;
}
// METHODS
// METHODS
...
@@ -27,7 +32,7 @@ public class Vehicle {
...
@@ -27,7 +32,7 @@ public class Vehicle {
// Get the options of the car
// Get the options of the car
// public List<Option> getOptions()
// public List<Option> getOptions()
// Get the price
of the car
// Get the price
// public Double getPrice();
// public Double getPrice();
...
...
garage/src/main/Garage.java
0 → 100644
View file @
60366711
package
main
;
public
class
Garage
{
}
garage/src/test/TestEngine.java
0 → 100644
View file @
60366711
package
test
;
public
class
TestEngine
{
}
garage/src/test/TestVehicle.java
0 → 100644
View file @
60366711
package
test
;
public
class
TestVehicle
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment