Sha256: 02a48d9633f8d890ba6f48f0fc9c68ba591b87954a53175d17b94760d7df6bac

Contents?: true

Size: 470 Bytes

Versions: 9

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

# Usage:
# load_library :file_chooser
# class ...
# def setup
# java_signature 'void selectInput(String, String)'
# selectInput('Select a file to process:', 'fileSelected')
# end
#
# def fileSelected(selection)
# if selection.nil?
# puts 'Window was closed or the user hit cancel.'
# else
# puts format('User selected %s', selection.get_absolute_path)
# end
# end
# ...
class Propane::App
  include Java::MonkstoneFilechooser::Chooser
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
propane-4.0.0-java library/file_chooser/file_chooser.rb
propane-3.11.0-java library/file_chooser/file_chooser.rb
propane-3.10.0-java library/file_chooser/file_chooser.rb
propane-3.9.0-java library/file_chooser/file_chooser.rb
propane-3.8.0-java library/file_chooser/file_chooser.rb
propane-3.7.1-java library/file_chooser/file_chooser.rb
propane-3.7.0.pre-java library/file_chooser/file_chooser.rb
propane-3.6.0-java library/file_chooser/file_chooser.rb
propane-3.5.0-java library/file_chooser/file_chooser.rb