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
1abaf9af
Commit
1abaf9af
authored
Nov 13, 2015
by
kai
Browse files
Removed dependency to SimStadtApp (SimStadtFrontend).
parent
d226b562
Changes
2
Show whitespace changes
Inline
Side-by-side
.classpath
View file @
1abaf9af
...
...
@@ -5,8 +5,7 @@
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.junit.JUNIT_CONTAINER/4"
/>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/SimStadtRepository"
/>
<classpathentry
kind=
"lib"
path=
"lib/jts-1.13.jar"
/>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/SimStadt
Frontend
"
/>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/SimStadt
Repository
"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
src/eu/simstadt/regionchooser/RegionChooserFX.java
View file @
1abaf9af
...
...
@@ -37,7 +37,6 @@
import
com.vividsolutions.jts.geom.Point
;
import
com.vividsolutions.jts.io.ParseException
;
import
com.vividsolutions.jts.io.WKTReader
;
import
eu.simstadt.desktop.SimStadtApp
;
import
eu.simstadt.nf4j.ExportJobFromJavaFXRegionChooser
;
...
...
@@ -62,14 +61,13 @@ public static void main(String[] args) {
class
Browser
extends
Region
{
public
class
JavaScriptFXBridge
{
private
Path
repo
;
private
WKTReader
wktReader
=
new
WKTReader
();
public
JavaScriptFXBridge
()
{
Preferences
userPrefs
=
Preferences
.
user
NodeForPackage
(
S
im
S
tadt
App
.
class
);
Preferences
userPrefs
=
Preferences
.
user
Root
().
node
(
"/eu/s
im
s
tadt
/desktop"
);
String
repoString
=
userPrefs
.
get
(
"RECENT_REPOSITORY"
,
null
);
if
(
repoString
==
null
)
{
repo
=
Paths
.
get
(
"../TestRepository"
);
...
...
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