Skip to content
GitLab
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
Oct 06, 2022
by
Eric Duminil
Browse files
Show Repo path.
parent
28a02297
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/simstadt/regionchooser/RegionChooserBrowser.java
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"
);
});
});
...
...
src/main/resources/eu/simstadt/regionchooser/website/index.html
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>
...
...
src/main/resources/eu/simstadt/regionchooser/website/script/simstadt_openlayers.js
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
...
...
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