Sha256: 6323e5626fadab100bd9c5516c23e4b90ab1e2da148f1f0c66adf738a602f88b

Contents?: true

Size: 448 Bytes

Versions: 19

Compression:

Stored size: 448 Bytes

Contents

module Redcar
  class Application
    class QuitCommand < Command
      def execute
        Redcar.app.call_on_plugins(:quit_guard) do |guard|
          return unless guard
        end
        Project::Manager.open_projects.each {|pr| pr.close }
        Redcar.app.quit
      end
    end
    
    class ToggleToolbar < Command

      def execute
        Redcar.app.toggle_show_toolbar
        Redcar.app.refresh_toolbar!
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
redcar-dev-0.12.19dev plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.18dev plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.17dev plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.16dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.15dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.14dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.13dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.12dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.11dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.10dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.9dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.8dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.7dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.6dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.4dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.3dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.1dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-dev-0.12.0dev-java plugins/application/lib/application/commands/application_commands.rb
redcar-0.11 plugins/application/lib/application/commands/application_commands.rb