Sha256: 71fb2537376c681ac93ea95ec0166d4242aa0d4f782d8c9714d75fc88bbd863b

Contents?: true

Size: 489 Bytes

Versions: 44

Compression:

Stored size: 489 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

44 entries across 44 versions & 1 rubygems

Version Path
propane-3.4.2-java library/file_chooser/file_chooser.rb
propane-3.4.1-java library/file_chooser/file_chooser.rb
propane-3.4.0-java library/file_chooser/file_chooser.rb
propane-3.3.1-java library/file_chooser/file_chooser.rb
propane-3.3.0-java library/file_chooser/file_chooser.rb
propane-3.2.0-java library/file_chooser/file_chooser.rb
propane-3.1.0.pre-java library/file_chooser/file_chooser.rb
propane-2.9.3-java library/file_chooser/file_chooser.rb
propane-3.0.1.pre-java library/file_chooser/file_chooser.rb
propane-2.9.2-java library/file_chooser/file_chooser.rb
propane-3.0.0.pre-java library/file_chooser/file_chooser.rb
propane-2.9.1-java library/file_chooser/file_chooser.rb
propane-2.9.0-java library/file_chooser/file_chooser.rb
propane-2.7.2-java library/file_chooser/file_chooser.rb
propane-2.8.0.pre-java library/file_chooser/file_chooser.rb
propane-2.7.1-java library/file_chooser/file_chooser.rb
propane-2.7.0-java library/file_chooser/file_chooser.rb
propane-2.6.6-java library/file_chooser/file_chooser.rb
propane-2.6.5.pre-java library/file_chooser/file_chooser.rb
propane-2.6.4-java library/file_chooser/file_chooser.rb