Commit Graph

146 Commits

Author SHA1 Message Date
Holt59
a5764948f9 Add path panel separated from solution panel. 2018-03-03 20:40:47 +01:00
Holt59
f22c1c93fa Make solution panel a bit more generic using reflections. 2018-03-03 20:06:38 +01:00
Holt59
6d8c2462ab Improve reflections to make the input panel more generic. 2018-03-03 19:26:56 +01:00
Holt59
738b23d253 Update MainWindow id. 2018-03-03 18:32:26 +01:00
Holt59
89b6bc5819 Fix issue with observers. 2018-03-03 18:21:16 +01:00
Holt59
bcfc8dac3d Change cursor above button. 2018-03-03 15:51:03 +01:00
Holt59
eb174d379d Move images to res/. 2018-03-03 15:46:26 +01:00
Holt59
701a94784e Merge branch 'zoom-controls' 2018-03-03 15:45:25 +01:00
Holt59
8e68377772 Fix issue with nodes input panel getting enabled by indavertance. 2018-03-03 15:45:21 +01:00
Holt59
f56d735d90 Add zoom controls to mapview drawing, avoid triggering drawingclick events with zoom control. 2018-03-03 15:36:35 +01:00
Holt59
dede97bc68 Add zoom controls to basic drawing. 2018-03-03 15:23:08 +01:00
Holt59
7827bfc63c Reorganize code. 2018-03-03 13:43:03 +01:00
Holt59
bc70c4267d Update polyline auto scaling width. 2018-03-03 12:48:55 +01:00
Holt59
6ae4e88d23 Add comments. 2018-03-03 00:43:38 +01:00
Holt59
0622f9fa83 Remove output in MapView. 2018-03-03 00:41:55 +01:00
Holt59
6768374b92 Add possibility to select in the interface the filtering of the arcs for ShortestPath. 2018-03-03 00:27:54 +01:00
Holt59
be94c670b7 Update graphics. 2018-03-02 23:48:57 +01:00
Holt59
ae082d0b8a Add extra information in graph. 2018-03-02 23:48:32 +01:00
Mikael Capelle
2e7a1c564a Add my AStar for computing path. Change ID and map names in file. 2018-03-02 17:49:30 +01:00
Mikael Capelle
4017577269 Instance -> Data. 2018-03-02 15:30:55 +01:00
Mikael Capelle
e111b5f0e6 Add option to specify observers for shortest-path. 2018-03-02 11:45:43 +01:00
Mikael Capelle
19832321aa Move solution panel inside shortest-path panel. 2018-03-02 11:35:02 +01:00
Mikael Capelle
d442a7e910 Update some parameters to improve performances of MapViewDrawing. 2018-03-02 11:19:00 +01:00
Mikael Capelle
bd1c393053 Fix issue with dialog not being shown up relative to the MainWindow. 2018-03-02 11:18:38 +01:00
Mikael Capelle
23fa24377d Fix issue with solution panel when a new graph was loaded. 2018-03-02 11:03:43 +01:00
Holt59
4fae0e890c Rename getInstance() -> getInputData(). Override getInputData() in solution classes to return correct type instead of abstract one. 2018-03-01 21:20:17 +01:00
Holt59
2fdaf30510 Fix issue in solution panel. 2018-03-01 21:14:54 +01:00
Holt59
5d28e12903 Update solution panel. 2018-03-01 21:10:34 +01:00
Mikael Capelle
08fd7120f2 Create new solution panel. 2018-03-01 19:51:37 +01:00
Mikael Capelle
8bca08f795 Synchronize overlays operations in BasicDrawing. 2018-03-01 19:51:14 +01:00
Mikael Capelle
25da6079e6 Clean access restriction usage. 2018-03-01 14:20:42 +01:00
Mikael Capelle
a51e16c3dd Rename getInfo -> getInformation. 2018-03-01 13:35:11 +01:00
Mikael Capelle
875a0c8518 Integrate access information in RoadInformation. 2018-03-01 13:33:56 +01:00
Mikael Capelle
0963f4a12f Use arc instead of only road type to find width and color for drawing. 2018-03-01 13:33:28 +01:00
Mikael Capelle
e15d04eda9 Close ProgressBarDialog on failure. 2018-03-01 13:32:25 +01:00
Holt59
55e4f4dfdc Set default transform to ZoomAndPanListener to avoid bunch of exceptions. 2018-02-28 23:03:02 +01:00
Holt59
6cc57631ad Rename binary readers, and separate the button in two. 2018-02-28 22:24:04 +01:00
Holt59
a4e7a6f708 Fix issue with NodesInputPanel getting enable when clearing threads. 2018-02-28 21:06:08 +01:00
Holt59
03a26ab083 Do not draw oneWay arc twice. 2018-02-28 20:57:52 +01:00
Mikael Capelle
bcb9faa6b2 Fix issue in ProgressBar when number of nodes/descs/arcs was less than 100. 2018-02-28 20:10:43 +01:00
Holt59
575eb71e64 Fix issue with startAlgoButton when enabling the ShortestPathPanel. 2018-02-27 23:35:06 +01:00
Holt59
592ef40e54 Remove debug output. 2018-02-27 23:27:29 +01:00
Holt59
094840f152 Center progress bar on drawing. 2018-02-27 23:27:18 +01:00
Holt59
823ed07770 Add observers to GraphReader. 2018-02-27 23:23:22 +01:00
Holt59
7b2f3f3549 BasicDrawing now create a new image for each new graph to have better scaling. 2018-02-27 22:24:49 +01:00
Holt59
43835e4837 Remove drawPoint, switch to PointSetOverlay. 2018-02-27 22:09:57 +01:00
Holt59
7de61ac27e Fix visiblity issue with markers in NodesInputPanel. 2018-02-26 20:29:05 +01:00
Holt59
1a664b8a3c Modify connection between MainWindow and the NotesInputPanel. 2018-02-26 11:31:00 +01:00
Holt59
791ea13d5e Add more info in status bar. 2018-02-25 22:37:34 +01:00
Holt59
20a64255aa Remove output. 2018-02-25 21:40:20 +01:00
Holt59
05c4f0da2a Try to improve mapsforge auto file detection. 2018-02-25 21:39:57 +01:00
Holt59
d4b1ef0481 Remove unused constructor of BasicPathOverlay. 2018-02-25 20:17:39 +01:00
Holt59
1f06fc1eec Link inputs directly to MainWindow to avoid issue when loading new graph/redrawing. 2018-02-25 20:16:10 +01:00
Holt59
b192bb4f07 Add info panel for SP solutions. 2018-02-25 20:03:06 +01:00
Holt59
1cb11975a6 Remove main from ShortestPathPanel. 2018-02-25 19:25:25 +01:00
Holt59
96ca2b3a8a Add path overlays functionality. 2018-02-25 19:17:26 +01:00
Holt59
71202409b8 Rename some classes. 2018-02-25 18:34:48 +01:00
Holt59
ae460ff454 Remove drawLine. Better overlay for BasicDrawing. 2018-02-25 18:33:46 +01:00
Holt59
467253f9bb Re-organize code. 2018-02-25 18:13:22 +01:00
Holt59
29051be12b Create OverlayTracker as a prent of MarkerTracker to allow tracking of other objects. 2018-02-25 18:12:15 +01:00
Holt59
6bc633e5bb Add shortest path panel. 2018-02-25 17:44:27 +01:00
Holt59
b6eb6d97ea Switch from int to byte for color in markers. 2018-02-25 16:50:16 +01:00
Holt59
422a3267ca Add possibility to show/hide a marker after its creation without having to delete/recreate it. 2018-02-25 16:43:37 +01:00
Holt59
9ae576a058 Fix size issue for point vs. marker. 2018-02-25 12:48:21 +01:00
Holt59
fc44ad93c3 Remove unwanted output. 2018-02-25 12:44:43 +01:00
Holt59
9acdc998b3 Improve overlay management for BasicDrawing. 2018-02-25 12:44:15 +01:00
Holt59
481e30e80c Add way to track drawn Markers on map and delete/move them. Delete not implemented for BasicDrawing. 2018-02-25 12:10:59 +01:00
Holt59
a9ab69965e Remove zoom limit in MapViewDrawing. 2018-02-25 01:17:55 +01:00
Holt59
5ccdbc9417 Fix issue that was shrinking the drawing when redrawing. 2018-02-25 00:36:17 +01:00
Holt59
bc67e95f7f Switch from ArrayList to List in Graph. 2018-02-24 21:12:07 +01:00
Holt59
374e5e5f5c Update javadoc for graph package. 2018-02-24 21:08:52 +01:00
Holt59
adbb1f7e61 Fix javadoc for Point. 2018-02-24 21:03:05 +01:00
Holt59
d00e012497 Enforce immutability via final and unmodifiableList. 2018-02-24 21:02:04 +01:00
Holt59
7640fa34c7 Switch to static methods for creating paths from nodes. 2018-02-24 20:55:23 +01:00
Holt59
26180b8d4d Remove top panel. 2018-02-24 20:50:16 +01:00
Holt59
ca94ddf7ff Fix output stream in textarea. Add blocking actions. 2018-02-24 16:21:59 +01:00
Holt59
0514c627b4 Rename abstract classes. 2018-02-24 15:14:37 +01:00
Holt59
6c3bc23984 Fix exceptions for readers, add path writer. 2018-02-24 15:11:15 +01:00
Holt59
164a9d4494 Move listener class outside of MainWindow. 2018-02-24 14:12:21 +01:00
Holt59
c624fd9dfd Regoranized package. 2018-02-24 13:46:47 +01:00
Holt59
f6fdb1871f Switch back to Internal theme to avoid having resources. 2018-02-24 13:37:52 +01:00
Holt59
9db2ee36dd Fix issue with MapViewDrawing and generalize ClickListener for all Drawings. 2018-02-23 23:21:21 +01:00
Mikael Capelle
24eeab7971 Update MapViewer. 2018-02-23 20:39:56 +01:00
Holt59
5899dfa276 Try new method to scale path. 2018-02-21 20:57:36 +01:00
Mikael Capelle
d5af267227 Create new drawing using Mapsforge. 2018-02-21 19:22:37 +01:00
Mikael Capelle
379784e2ec Start to create a topPanel to add information. 2018-02-20 12:24:55 +01:00
Mikael Capelle
3a17f55571 Rename Instance -> Data. 2018-02-20 12:03:18 +01:00
Mikael Capelle
960d1b1845 Add constructor from nodes to path. 2018-02-20 12:03:02 +01:00
Mikael Capelle
237edea766 Update MainWindow to allow choice of mode for SP. 2018-02-20 11:41:18 +01:00
Mikael Capelle
1eee9b8dd9 Add method in graph to find node from position. 2018-02-20 11:41:02 +01:00
Mikael Capelle
71accfe13b Update code. 2018-02-20 11:27:12 +01:00
Mikael Capelle
a6e8a22081 Add origin node to arc. 2018-02-20 11:26:04 +01:00
Holt59
11b07b652b Update. 2018-02-19 10:48:19 +01:00
Holt59
eceaecd813 Update. 2018-02-18 23:08:02 +01:00
Mikael Capelle
cfb59ac0f1 Update. 2018-02-16 15:29:11 +01:00
Mikael Capelle
65c81b9921 Initial commit. 2018-01-29 12:35:24 +01:00