jrubyfx 1.2.0-java → 2.0.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +21 -10
- data/lib/jrubyfx/application.rb +2 -2
- data/lib/jrubyfx/controller.rb +62 -31
- data/lib/jrubyfx/core_ext/exts.yml +9 -1
- data/lib/jrubyfx/core_ext/observable_value.rb +20 -2
- data/lib/jrubyfx/core_ext/precompiled.rb +1185 -175
- data/lib/jrubyfx/dsl.rb +3 -0
- data/lib/jrubyfx/dsl_map.rb +486 -9
- data/lib/jrubyfx/fxml_helper.rb +134 -0
- data/lib/jrubyfx/imports.rb +498 -26
- data/lib/jrubyfx/module.rb +28 -0
- data/lib/jrubyfx/part_imports.rb +63 -52
- data/lib/jrubyfx/utils.rb +6 -1
- data/lib/jrubyfx/version.rb +1 -1
- data/lib/jrubyfx.rb +6 -5
- data/lib/jrubyfx_tasks.rb +3 -1
- metadata +4 -19
- data/lib/jrubyfx/java_fx_impl.rb +0 -137
data/lib/jrubyfx/dsl.rb
CHANGED
@@ -242,9 +242,12 @@ module JRubyFX
|
|
242
242
|
next if defs == "" || defs == nil
|
243
243
|
# TODO: do we need to include the dsl? is this the fastest way to do it?
|
244
244
|
outf<< <<HERDOC
|
245
|
+
begin
|
245
246
|
class #{clz}
|
246
247
|
include JRubyFX::DSL
|
247
248
|
#{defs}end
|
249
|
+
rescue NameError # ignore, different JDK version likely
|
250
|
+
end
|
248
251
|
HERDOC
|
249
252
|
end
|
250
253
|
end
|