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-2.0.1-java library/file_chooser/file_chooser.rb
propane-2.0.0.pre-java library/file_chooser/file_chooser.rb
propane-0.9.0-java library/file_chooser/file_chooser.rb
propane-0.8.0-java library/file_chooser/file_chooser.rb