Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
9d451409
Commit
9d451409
authored
2 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Show Repo path.
parent
28a02297
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/main/java/eu/simstadt/regionchooser/RegionChooserBrowser.java
+1
-0
.../java/eu/simstadt/regionchooser/RegionChooserBrowser.java
src/main/resources/eu/simstadt/regionchooser/website/index.html
+1
-1
...in/resources/eu/simstadt/regionchooser/website/index.html
src/main/resources/eu/simstadt/regionchooser/website/script/simstadt_openlayers.js
+4
-1
...stadt/regionchooser/website/script/simstadt_openlayers.js
with
6 additions
and
2 deletions
+6
-2
src/main/java/eu/simstadt/regionchooser/RegionChooserBrowser.java
+
1
-
0
View file @
9d451409
...
@@ -67,6 +67,7 @@ public Void call() throws IOException {
...
@@ -67,6 +67,7 @@ public Void call() throws IOException {
task
.
setOnRunning
(
e
->
{
task
.
setOnRunning
(
e
->
{
jsApp
.
call
(
"display"
,
"Importing citgyml. Please wait."
);
jsApp
.
call
(
"display"
,
"Importing citgyml. Please wait."
);
jsApp
.
call
(
"showRepositoryName"
,
repo
.
getFileName
().
toString
());
jsApp
.
call
(
"init"
);
jsApp
.
call
(
"init"
);
});
});
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/eu/simstadt/regionchooser/website/index.html
+
1
-
1
View file @
9d451409
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<body>
<body>
<div
id=
"header"
>
<div
id=
"header"
>
<ul>
<ul>
<li
class=
"title"
>
Simstadt Region Chooser
</li>
<li
class=
"title"
>
<span
id=
"repo_path"
></span>
</li>
<li
class=
"title"
id=
"select_repository"
style=
"visibility:hidden"
><button
onclick=
"regionChooser.selectRepository()"
>
Select repository
</button></li>
<li
class=
"title"
id=
"select_repository"
style=
"visibility:hidden"
><button
onclick=
"regionChooser.selectRepository()"
>
Select repository
</button></li>
</ul>
</ul>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/eu/simstadt/regionchooser/website/script/simstadt_openlayers.js
+
4
-
1
View file @
9d451409
...
@@ -393,9 +393,12 @@ var regionChooser = (function(){
...
@@ -393,9 +393,12 @@ var regionChooser = (function(){
}
}
publicScope
.
selectRepository
=
function
()
{
publicScope
.
selectRepository
=
function
()
{
console
.
log
(
"
Should probably do select repository.
"
);
fxapp
.
selectRepository
();
fxapp
.
selectRepository
();
}
}
publicScope
.
showRepositoryName
=
function
(
path
)
{
document
.
getElementById
(
"
repo_path
"
).
textContent
=
path
;
}
focusOnMap
();
focusOnMap
();
//var regionChooser = publicScope; //NOTE: In order to open closure. For debugging
//var regionChooser = publicScope; //NOTE: In order to open closure. For debugging
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets