Class: Redcar::OpenDefaultApp

Inherits:
Object
  • Object
show all
Defined in:
plugins/open_default_app/lib/open_default_app.rb

Defined Under Namespace

Classes: OpenDefaultAppCommand

Class Method Summary (collapse)

Class Method Details

+ (Object) project_context_menus(tree, node, controller)



5
6
7
8
9
10
11
# File 'plugins/open_default_app/lib/open_default_app.rb', line 5

def self.project_context_menus(tree, node, controller)
  Menu::Builder.build do
    if node and node.path
      item ("Open Default App"){OpenDefaultAppCommand.new(node.path).run }
    end
  end
end