Sha256: a686a3c41a00560660a34e38cd66b06ee4dd888b1fe1d46e186b2ce16d3bd29d

Contents?: true

Size: 474 Bytes

Versions: 9

Compression:

Stored size: 474 Bytes

Contents

# frozen_string_literal: true
# Usage: :wq
# load_library :chooser
# 
# 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 Processing::App
  include Java::MonkstoneFilechooser::Chooser
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jruby_art-1.2.6 library/chooser/chooser.rb
jruby_art-1.2.5 library/chooser/chooser.rb
jruby_art-1.2.4 library/chooser/chooser.rb
jruby_art-1.2.3 library/chooser/chooser.rb
jruby_art-1.2.2 library/chooser/chooser.rb
jruby_art-1.2.1 library/chooser/chooser.rb
jruby_art-1.2.0.pre library/chooser/chooser.rb
jruby_art-1.1.3 library/chooser/chooser.rb
jruby_art-1.1.2 library/chooser/chooser.rb